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
bench(l2l): step-0 record on the RTX 5070: G1 and G2 pass, G3 and G4 no verdict (#1715)
Alpamys Makazhan858166ab05d3
diff --git a/benchmarks/README.md b/benchmarks/README.mdindex c02545cc..e6bd1ad0 100644--- a/benchmarks/README.md+++ b/benchmarks/README.md@@ -25,6 +25,7 @@ They are the evidence behind the preprint:| [`gate-v0.72.3-breadth.md`](gate-v0.72.3-breadth.md) | Nine architectures, batching, accumulation, resume, disk tier | Peak-VRAM predictor at 0.85% worst-case error; accumulation is per-token I/O-neutral || [`gate-v0.72.4-preference-losses.md`](gate-v0.72.4-preference-losses.md) | DPO / ORPO / SimPO / KTO over the streaming engine | DPO's reference model costs no extra weights — 0.914x the SFT peak, against +730.44 MB for a real second instance || [`probe-v0.73.0-what-bounds-streaming.md`](probe-v0.73.0-what-bounds-streaming.md) | What the streamed step is actually bound by, and Cut Cross-Entropy on top of it | **Not** transfer-bound: 71.3% of the card's same-session GEMM ceiling, and deleting every host-to-device byte buys 1.4%. CCE triples the usable microbatch for +9.6% |+| [`probe-rtx5070-l2l-step0.md`](probe-rtx5070-l2l-step0.md) | Layer-major micro-batching (L2L) on the shipped streamed runtime, step 0 of the giant-MoE track: one load per layer per step for k micro-batches, measured on the RTX 5070 box against gradient accumulation on the cold 70B-shaped NF4 disk tier | **G1 and G2 pass, G3 and G4 no verdict.** L2L's LoRA gradients and losses are bit-exact to GA on Mistral-7B (k = 4) and the 70B shape (k = 2) under deterministic algorithms (GA is not reproducible against itself without them); the read hides at k = 16 (73.3 tok/s against 0.8 x 73.4); G3 and G4 have no verdict because the k = 1 L2L arm's two rounds differ by 14.1% (one 25.0 s step). Three informational arms were voided by a trigger-restarted SearchIndexer.exe || [`run-t4-colab-free-tier.md`](run-t4-colab-free-tier.md) | Not a gate — one completed run on hardware the maintainer does not own | An 8B NF4 streamed run finishes on a free-tier Colab **T4 (sm_75, Turing)** inside a 4.00 GB process cap, peak **2.91 GB** against a predicted 3.02 (the estimator over-predicts by 3.8%, the safe direction). A second run on the same card (#844) measured **1.83 GB** peak instead — the embeddings and head moved out of the resident allocation into a streamed large-layer slot between the two runs, which explains both figures; both are recorded. **No throughput is quoted** — a capped card is not a benchmark — and gradient exactness on Turing is *not* shown || [`gate-v0.73.1-measured-vram-fit.md`](gate-v0.73.1-measured-vram-fit.md) | Measuring the streaming VRAM fit instead of predicting it | The peak-VRAM formula **under-predicts at long sequence** — 0.934x the real peak at seq 5120 and 0.787x at 6144, measured through the real `soup train`, a direction the v0.72.3 grid could not see because all ten of its rows sit at seq 256 or 512. Carries **three readings that were withdrawn** during the work, including two that looked like the headline result || [`gate-395-second-stack-vram.md`](gate-395-second-stack-vram.md) | The VRAM fit on a second GPU/stack — the verification `gate-v0.73.1` could not do on one card | The under-prediction **does not reproduce**: flat 1.16x over-prediction across seq 2048-6144 on two models, against 0.934x / 0.787x on the RTX 3050. The gap is a single stack-specific term, not drift with sequence. The SDPA math-path hypothesis is published as a **negative result** with a positive control, and explicitly *not* extended to the 3050. Carries a **discarded first sweep** whose numbers were an artifact of `max_length` truncating rather than padding |diff --git a/benchmarks/harness/l2l_activations.py b/benchmarks/harness/l2l_activations.pynew file mode 100644index 00000000..b152cca3--- /dev/null+++ b/benchmarks/harness/l2l_activations.py@@ -0,0 +1,488 @@+#!/usr/bin/env python3+"""Host-RAM store for the L2L probe's boundary activations, with an NVMe spill.++Layer-major micro-batching (plan.md § "Giant MoE", step 0) keeps the input of+every decoder layer for every micro-batch between the forward walk and the+backward walk: ``n_layers x k`` chunks of ``(1, seq, hidden)``. On the 70B+shape one chunk is 512 x 8192 x 2 B = 8 MiB, an exact power of two, so pinned+chunks do not pay #901's power-of-two rounding.++Layers ``[0, spill_layers)`` go to a spill file instead. They are written first+in the forward and read last in the backward, so their I/O has the most compute+to hide behind. ``DirectSpillFile`` bypasses the page cache, so a spilled chunk+really reaches the drive; it is filled and drained from sector-aligned pinned+staging rings, by one writer and one reader thread. ``BufferedSpillFile``+exists for the CPU tests only, and the probe refuses a backend whose ``direct``+is False.++Benchmark harness code, not shipped. Top level imports the standard library+only; torch is imported inside functions.+"""++from __future__ import annotations++import io+import math+import os+import queue+import sys+import threading+import time+from dataclasses import dataclass+from typing import Any, Callable, Dict, List, Optional, Set, Tuple++SECTOR_BYTES = 4096+DEFAULT_RING = 8+_FILE_SHARE_READ = 0x00000001+_FILE_SHARE_WRITE = 0x00000002+_FILE_FLAG_NO_BUFFERING = 0x20000000+++def aligned_buffer(nbytes: int, *, pin: bool) -> Any:+ """A contiguous CPU uint8 tensor of exactly ``nbytes`` at a sector-aligned address.++ One sector is over-allocated and sliced off, because torch's caching host+ allocator can hand out pinned blocks at 512-byte granularity (#1531).+ """+ import torch++ raw = torch.empty(nbytes + SECTOR_BYTES, dtype=torch.uint8, pin_memory=pin)+ shift = (-raw.data_ptr()) % SECTOR_BYTES+ view = raw[shift : shift + nbytes]+ if view.data_ptr() % SECTOR_BYTES:+ raise RuntimeError("could not align a staging buffer to the sector size")+ return view+++def _write_all(handle: io.FileIO, offset: int, buf: Any) -> None:+ handle.seek(offset)+ view = memoryview(buf.numpy())+ done = 0+ while done < len(view):+ got = handle.write(view[done:])+ if not got:+ raise OSError(f"short write, {done} of {len(view)} bytes at offset {offset}")+ done += got+++def _read_all(handle: io.FileIO, offset: int, buf: Any) -> None:+ handle.seek(offset)+ view = memoryview(buf.numpy())+ done = 0+ while done < len(view):+ got = handle.readinto(view[done:])+ if not got:+ raise OSError(f"short read, {done} of {len(view)} bytes at offset {offset}")+ done += got+++class SpillBackend:+ """Positional writes and reads of whole chunks on one file."""++ direct = False+ path = ""+ left_behind: Optional[str] = None++ def _remove(self) -> None:+ """Best effort: an indexer or scanner holding the file must not crash the arm."""+ if not os.path.exists(self.path):+ return+ try:+ os.remove(self.path)+ except OSError:+ self.left_behind = self.path++ def write(self, offset: int, buf: Any) -> None:+ raise NotImplementedError++ def read(self, offset: int, buf: Any) -> None:+ raise NotImplementedError++ def close(self, remove: bool = True) -> None:+ raise NotImplementedError+++class BufferedSpillFile(SpillBackend):+ """Page-cache I/O, for the CPU tests. A measured arm never uses it."""++ def __init__(self, path: str, size: int):+ self.path = str(path)+ with open(self.path, "wb") as handle:+ handle.truncate(size)+ self._writer: Optional[io.FileIO] = io.FileIO(self.path, "r+b")+ self._reader: Optional[io.FileIO] = io.FileIO(self.path, "rb")++ def write(self, offset: int, buf: Any) -> None:+ _write_all(self._writer, offset, buf)+ self._writer.flush()++ def read(self, offset: int, buf: Any) -> None:+ _read_all(self._reader, offset, buf)++ def close(self, remove: bool = True) -> None:+ for handle in (self._writer, self._reader):+ if handle is not None:+ handle.close()+ self._writer = self._reader = None+ if remove:+ self._remove()+++def _open_unbuffered(path: str) -> io.FileIO:+ """A read-write handle with the page cache bypassed (Windows, Linux, macOS)."""+ if sys.platform == "win32":+ import _winapi+ import msvcrt++ handle = _winapi.CreateFile(+ path,+ _winapi.GENERIC_READ | _winapi.GENERIC_WRITE,+ _FILE_SHARE_READ | _FILE_SHARE_WRITE,+ _winapi.NULL,+ _winapi.OPEN_EXISTING,+ _FILE_FLAG_NO_BUFFERING,+ _winapi.NULL,+ )+ try:+ fd = msvcrt.open_osfhandle(handle, os.O_RDWR | os.O_BINARY)+ except OSError:+ _winapi.CloseHandle(handle)+ raise+ return io.FileIO(fd, "r+b", closefd=True)+ direct = getattr(os, "O_DIRECT", None)+ if direct is not None:+ return io.FileIO(os.open(path, os.O_RDWR | direct), "r+b", closefd=True)+ if sys.platform == "darwin":+ import fcntl++ fd = os.open(path, os.O_RDWR)+ try:+ fcntl.fcntl(fd, fcntl.F_NOCACHE, 1)+ except OSError:+ os.close(fd)+ raise+ return io.FileIO(fd, "r+b", closefd=True)+ raise OSError(f"no unbuffered file I/O on {sys.platform}")+++def _check_aligned(offset: int, buf: Any) -> None:+ if offset % SECTOR_BYTES or buf.numel() % SECTOR_BYTES or buf.data_ptr() % SECTOR_BYTES:+ raise ValueError(+ "unbuffered I/O needs a sector-aligned offset, length and address; got offset "+ f"{offset}, length {buf.numel()}, address {buf.data_ptr()}"+ )+++class DirectSpillFile(SpillBackend):+ """The page cache bypassed, so a spilled chunk really goes to the drive.++ The file is filled with zeros once at construction: an unbuffered write past+ the valid-data length makes the filesystem zero-fill the gap synchronously,+ which would land inside the first timed step instead of here.+ """++ direct = True++ def __init__(self, path: str, size: int, *, fill_chunk: int = 8 << 20):+ if size <= 0 or size % SECTOR_BYTES:+ raise ValueError(+ f"spill size must be a positive multiple of {SECTOR_BYTES}; got {size}"+ )+ self.path = str(path)+ self._writer: Optional[io.FileIO] = None+ self._reader: Optional[io.FileIO] = None+ with open(self.path, "wb") as handle:+ handle.truncate(size)+ try:+ self._writer = _open_unbuffered(self.path)+ zeros = aligned_buffer(fill_chunk, pin=False)+ zeros.zero_()+ for offset in range(0, size, fill_chunk):+ _write_all(self._writer, offset, zeros[: min(fill_chunk, size - offset)])+ self._reader = _open_unbuffered(self.path)+ except BaseException:+ self.close()+ raise++ def write(self, offset: int, buf: Any) -> None:+ _check_aligned(offset, buf)+ _write_all(self._writer, offset, buf)++ def read(self, offset: int, buf: Any) -> None:+ _check_aligned(offset, buf)+ _read_all(self._reader, offset, buf)++ def close(self, remove: bool = True) -> None:+ for handle in (self._writer, self._reader):+ if handle is not None:+ handle.close()+ self._writer = self._reader = None+ if remove:+ self._remove()+++class _Ring:+ """Staging buffers handed out in turn. A buffer comes back together with the+ CUDA event that must complete before anyone may overwrite it."""++ def __init__(self, buffers: List[Any]):+ self._free: "queue.Queue[Tuple[Any, Any]]" = queue.Queue()+ for buf in buffers:+ self._free.put((buf, None))++ def acquire(self, abort: Callable[[], bool]) -> Optional[Any]:+ """The next free buffer, or None once ``abort()`` says the store failed or closed."""+ while True:+ try:+ buf, event = self._free.get(timeout=0.5)+ break+ except queue.Empty:+ if abort():+ return None+ if event is not None:+ event.synchronize()+ return buf++ def release(self, buf: Any, event: Any = None) -> None:+ self._free.put((buf, event))+++@dataclass+class StoreStats:+ chunk_bytes: int+ resident_chunks: int+ spilled_chunks: int+ spill_layers: int+ pinned: bool+ direct: Optional[bool]+ bytes_written: int = 0+ bytes_read: int = 0+ put_wait_s: float = 0.0+ get_wait_s: float = 0.0+ spill_left_behind: Optional[str] = None+++Key = Tuple[int, int]+++class ActivationStore:+ """``n_layers x k`` boundary activations: pinned chunks, plus the lowest+ ``spill_layers`` layers through a spill backend."""++ def __init__(+ self,+ *,+ n_layers: int,+ k: int,+ chunk_shape: Tuple[int, ...],+ dtype: Any,+ device: Any,+ pin: bool,+ spill_layers: int = 0,+ spill_factory: Optional[Callable[[int], SpillBackend]] = None,+ ring: int = DEFAULT_RING,+ ):+ import torch++ if k < 1 or n_layers < 1:+ raise ValueError(f"need n_layers >= 1 and k >= 1; got {n_layers} and {k}")+ if not 0 <= spill_layers <= n_layers:+ raise ValueError(f"spill_layers must be in [0, {n_layers}]; got {spill_layers}")+ if spill_layers and spill_factory is None:+ raise ValueError("spill_layers > 0 needs a spill_factory")+ self.n_layers = int(n_layers)+ self.k = int(k)+ self.shape = tuple(int(dim) for dim in chunk_shape)+ self.dtype = dtype+ self.device = torch.device(device)+ self.is_cuda = self.device.type == "cuda"+ self.spill_layers = int(spill_layers)+ self.chunk_bytes = math.prod(self.shape) * torch.empty((), dtype=dtype).element_size()+ self._error: Optional[BaseException] = None+ self._closing = False+ self._resident: Dict[Key, Any] = {}+ for layer in range(self.spill_layers, self.n_layers):+ for mb in range(self.k):+ self._resident[(layer, mb)] = torch.empty(self.shape, dtype=dtype, pin_memory=pin)+ self.stats = StoreStats(+ chunk_bytes=self.chunk_bytes,+ resident_chunks=len(self._resident),+ spilled_chunks=self.spill_layers * self.k,+ spill_layers=self.spill_layers,+ pinned=bool(pin),+ direct=None,+ )+ self._spill: Optional[SpillBackend] = None+ if not self.spill_layers:+ return+ self._spill = spill_factory(self.spill_layers * self.k * self.chunk_bytes)+ self.stats.direct = bool(self._spill.direct)+ self._write_ring = _Ring([aligned_buffer(self.chunk_bytes, pin=pin) for _ in range(ring)])+ self._read_ring = _Ring([aligned_buffer(self.chunk_bytes, pin=pin) for _ in range(ring)])+ self._writes: "queue.Queue[Any]" = queue.Queue()+ self._reads: "queue.Queue[Any]" = queue.Queue()+ self._cond = threading.Condition()+ self._written: Set[Key] = set()+ self._requested: Set[Key] = set()+ self._ready: Dict[Key, Any] = {}+ self._threads = [+ threading.Thread(target=self._write_loop, name="l2l-spill-writer", daemon=True),+ threading.Thread(target=self._read_loop, name="l2l-spill-reader", daemon=True),+ ]+ for thread in self._threads:+ thread.start()++ # -- placement -----------------------------------------------------------+ def is_spilled(self, layer: int) -> bool:+ return layer < self.spill_layers++ def _offset(self, key: Key) -> int:+ layer, mb = key+ return (layer * self.k + mb) * self.chunk_bytes++ def _typed(self, buf: Any) -> Any:+ return buf.view(self.dtype).view(self.shape)++ def _record(self) -> Any:+ if not self.is_cuda:+ return None+ import torch++ event = torch.cuda.Event()+ event.record()+ return event++ # -- errors --------------------------------------------------------------+ def _fail(self, exc: BaseException) -> None:+ with self._cond:+ if self._error is None:+ self._error = exc+ self._cond.notify_all()++ def _raise_if_failed(self) -> None:+ if self._error is not None:+ path = self._spill.path if self._spill is not None else "<none>"+ raise RuntimeError(+ f"activation spill to {path} failed: {self._error!r}"+ ) from self._error++ # -- the forward ---------------------------------------------------------+ def put(self, layer: int, mb: int, tensor: Any) -> None:+ self._raise_if_failed()+ key = (layer, mb)+ if not self.is_spilled(layer):+ self._resident[key].copy_(tensor, non_blocking=True)+ return+ started = time.perf_counter()+ buf = self._write_ring.acquire(lambda: self._error is not None or self._closing)+ self.stats.put_wait_s += time.perf_counter() - started+ self._raise_if_failed()+ if buf is None:+ raise RuntimeError("the activation store was closed during a put")+ self._typed(buf).copy_(tensor, non_blocking=True)+ event = self._record()+ with self._cond:+ self._written.discard(key)+ self._writes.put((key, buf, event))++ def _write_loop(self) -> None:+ try:+ while True:+ item = self._writes.get()+ if item is None:+ return+ key, buf, event = item+ if event is not None:+ event.synchronize()+ self._spill.write(self._offset(key), buf)+ with self._cond:+ self.stats.bytes_written += self.chunk_bytes+ self._written.add(key)+ self._cond.notify_all()+ self._write_ring.release(buf, None)+ except BaseException as exc: # noqa: BLE001 — surfaced on the next put/get+ self._fail(exc)++ # -- the backward --------------------------------------------------------+ def _request(self, key: Key) -> None:+ with self._cond:+ if key in self._requested:+ return+ self._requested.add(key)+ self._reads.put(key)++ def begin_backward(self) -> None:+ """Queue every spilled chunk's read in the order the backward consumes them."""+ for layer in range(self.spill_layers - 1, -1, -1):+ for mb in range(self.k):+ self._request((layer, mb))++ def _read_loop(self) -> None:+ try:+ while True:+ key = self._reads.get()+ if key is None:+ return+ with self._cond:+ while key not in self._written:+ if self._closing or self._error is not None:+ return+ self._cond.wait(0.5)+ buf = self._read_ring.acquire(lambda: self._closing or self._error is not None)+ if buf is None:+ return+ self._spill.read(self._offset(key), buf)+ with self._cond:+ self.stats.bytes_read += self.chunk_bytes+ self._ready[key] = buf+ self._cond.notify_all()+ except BaseException as exc: # noqa: BLE001 — surfaced on the next put/get+ self._fail(exc)++ def get(self, layer: int, mb: int) -> Any:+ """The stored activation as a NEW tensor on the store's device."""+ self._raise_if_failed()+ key = (layer, mb)+ if not self.is_spilled(layer):+ return self._resident[key].to(self.device, non_blocking=True, copy=True)+ self._request(key)+ started = time.perf_counter()+ with self._cond:+ while key not in self._ready:+ if self._error is not None:+ break+ self._cond.wait(0.5)+ buf = self._ready.pop(key, None)+ self._requested.discard(key)+ self.stats.get_wait_s += time.perf_counter() - started+ self._raise_if_failed()+ out = self._typed(buf).to(self.device, non_blocking=True, copy=True)+ self._read_ring.release(buf, self._record())+ return out++ def end_step(self) -> None:+ """Every spilled chunk requested this step must have been consumed."""+ self._raise_if_failed()+ if not self.spill_layers:+ return+ with self._cond:+ pending = sorted(self._requested | set(self._ready))+ if pending:+ raise RuntimeError(+ f"{len(pending)} spilled activation chunk(s) were not consumed this step, "+ f"first {pending[:4]}: the schedule and the store disagree"+ )++ def close(self) -> None:+ if self._spill is None:+ return+ self._closing = True+ self._writes.put(None)+ self._reads.put(None)+ with self._cond:+ self._cond.notify_all()+ for thread in self._threads:+ thread.join(timeout=30)+ self._spill.close(remove=True)+ self.stats.spill_left_behind = self._spill.left_behind+ self._spill = Nonediff --git a/benchmarks/harness/l2l_box.py b/benchmarks/harness/l2l_box.pynew file mode 100644index 00000000..4063af7e--- /dev/null+++ b/benchmarks/harness/l2l_box.py@@ -0,0 +1,244 @@+#!/usr/bin/env python3+"""Box stamps for the L2L probe, and a watch for sleep and battery.++The probe runs beside other Claude sessions on a laptop. Every block records the+memory, power and GPU state it ran in (rule V3), and every arm runs under a+``SuspendWatch`` that samples the wall clock and the AC line every 2 s (rule+V5): a gap over 30 s means the box slept, and a battery sample means the clocks+were not the ones the gates assume. On 2026-10-01 a peer's probe died exactly+this way when the laptop was unplugged.++Rule V6 is the foreign reader: R2's attempt 1 lost an arm to SearchIndexer.exe+reading 4.94 GB from the drive under test. ``process_read_bytes`` snapshots every+process's read counter (psutil; ``None`` without it) and ``foreign_readers``+names the other processes that read ``threshold`` bytes or more between two+snapshots.++Benchmark harness code, not shipped. Standard library only.+"""++from __future__ import annotations++import ctypes+import shutil+import subprocess+import sys+import threading+import time+from typing import Callable, Collection, Dict, List, Optional++_GB = 1e9+FOREIGN_READ_BYTES = 1_000_000_000+++class _MemoryStatusEx(ctypes.Structure):+ _fields_ = [+ ("dwLength", ctypes.c_ulong),+ ("dwMemoryLoad", ctypes.c_ulong),+ ("ullTotalPhys", ctypes.c_ulonglong),+ ("ullAvailPhys", ctypes.c_ulonglong),+ ("ullTotalPageFile", ctypes.c_ulonglong),+ ("ullAvailPageFile", ctypes.c_ulonglong),+ ("ullTotalVirtual", ctypes.c_ulonglong),+ ("ullAvailVirtual", ctypes.c_ulonglong),+ ("ullAvailExtendedVirtual", ctypes.c_ulonglong),+ ]+++class _SystemPowerStatus(ctypes.Structure):+ _fields_ = [+ ("ACLineStatus", ctypes.c_ubyte),+ ("BatteryFlag", ctypes.c_ubyte),+ ("BatteryLifePercent", ctypes.c_ubyte),+ ("SystemStatusFlag", ctypes.c_ubyte),+ ("BatteryLifeTime", ctypes.c_ulong),+ ("BatteryFullLifeTime", ctypes.c_ulong),+ ]+++def memory_status() -> Dict[str, Optional[float]]:+ keys = ("total_phys_gb", "avail_phys_gb", "commit_limit_gb", "commit_avail_gb")+ if sys.platform != "win32":+ return dict.fromkeys(keys)+ status = _MemoryStatusEx()+ status.dwLength = ctypes.sizeof(status)+ if not ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(status)):+ return dict.fromkeys(keys)+ return {+ "total_phys_gb": status.ullTotalPhys / _GB,+ "avail_phys_gb": status.ullAvailPhys / _GB,+ "commit_limit_gb": status.ullTotalPageFile / _GB,+ "commit_avail_gb": status.ullAvailPageFile / _GB,+ }+++def on_ac_power() -> Optional[bool]:+ if sys.platform != "win32":+ return None+ status = _SystemPowerStatus()+ if not ctypes.windll.kernel32.GetSystemPowerStatus(ctypes.byref(status)):+ return None+ return {0: False, 1: True}.get(int(status.ACLineStatus))+++def _nvidia_smi(query: List[str]) -> Optional[str]:+ tool = shutil.which("nvidia-smi")+ if tool is None:+ return None+ try:+ out = subprocess.run(+ [tool, *query],+ capture_output=True,+ text=True,+ encoding="utf-8",+ errors="replace",+ timeout=20,+ check=False,+ )+ except (OSError, subprocess.SubprocessError):+ return None+ return out.stdout+++def gpu_compute_pids() -> Optional[List[int]]:+ text = _nvidia_smi(["--query-compute-apps=pid", "--format=csv,noheader"])+ if text is None:+ return None+ return [int(line.strip()) for line in text.splitlines() if line.strip().isdigit()]+++def gpu_memory_used_mib() -> Optional[int]:+ text = _nvidia_smi(["--query-gpu=memory.used", "--format=csv,noheader,nounits"])+ if not text or not text.strip().splitlines()[0].strip().isdigit():+ return None+ return int(text.strip().splitlines()[0].strip())+++def python_process_count() -> Optional[int]:+ if sys.platform != "win32":+ return None+ try:+ out = subprocess.run(+ ["tasklist", "/FI", "IMAGENAME eq python.exe", "/FO", "CSV", "/NH"],+ capture_output=True,+ text=True,+ encoding="utf-8",+ errors="replace", # tasklist prints in the console's OEM code page+ timeout=20,+ check=False,+ )+ except (OSError, subprocess.SubprocessError):+ return None+ return sum(1 for line in out.stdout.splitlines() if line.startswith('"python.exe"'))+++def box_stamp() -> Dict[str, object]:+ return {+ "unix": time.time(),+ **memory_status(),+ "ac": on_ac_power(),+ "gpu_pids": gpu_compute_pids(),+ "gpu_mem_used_mib": gpu_memory_used_mib(),+ "python_processes": python_process_count(),+ }+++class SuspendWatch:+ """Samples (wall clock, AC line) every ``interval`` s on a daemon thread."""++ def __init__(+ self,+ interval: float = 2.0,+ gap_limit: float = 30.0,+ clock: Callable[[], float] = time.time,+ power: Callable[[], Optional[bool]] = on_ac_power,+ ):+ self.interval = float(interval)+ self.gap_limit = float(gap_limit)+ self._clock = clock+ self._power = power+ self._lock = threading.Lock()+ self._stop = threading.Event()+ self._thread: Optional[threading.Thread] = None+ self._last: Optional[float] = None+ self.samples = 0+ self.max_gap_s = 0.0+ self.battery_samples = 0+ self.unknown_power_samples = 0++ def sample(self) -> None:+ now = self._clock()+ ac = self._power()+ with self._lock:+ if self._last is not None:+ self.max_gap_s = max(self.max_gap_s, now - self._last)+ self._last = now+ self.samples += 1+ if ac is False:+ self.battery_samples += 1+ elif ac is None:+ self.unknown_power_samples += 1++ def _loop(self) -> None:+ while not self._stop.wait(self.interval):+ self.sample()++ def start(self) -> None:+ self.sample()+ self._thread = threading.Thread(target=self._loop, name="l2l-suspend-watch", daemon=True)+ self._thread.start()++ def stop(self) -> Dict[str, object]:+ self._stop.set()+ if self._thread is not None:+ self._thread.join(timeout=10)+ self.sample()+ return self.report()++ def report(self) -> Dict[str, object]:+ with self._lock:+ return {+ "samples": self.samples,+ "max_gap_s": self.max_gap_s,+ "battery_samples": self.battery_samples,+ "unknown_power_samples": self.unknown_power_samples,+ "void": self.max_gap_s > self.gap_limit or self.battery_samples > 0,+ }+++def process_read_bytes() -> Optional[Dict[int, Dict[str, object]]]:+ """``{pid: {"name", "read"}}`` for every process whose counters can be read."""+ try:+ import psutil+ except ImportError:+ return None+ out: Dict[int, Dict[str, object]] = {}+ for proc in psutil.process_iter(["pid", "name"]):+ try:+ counters = proc.io_counters()+ except (psutil.Error, OSError):+ continue+ out[int(proc.info["pid"])] = {"name": proc.info["name"], "read": int(counters.read_bytes)}+ return out+++def foreign_readers(+ before: Optional[Dict[int, Dict[str, object]]],+ after: Optional[Dict[int, Dict[str, object]]],+ *,+ own_pids: Collection[int],+ threshold: int = FOREIGN_READ_BYTES,+) -> Optional[List[Dict[str, object]]]:+ """Other processes that read ``threshold`` bytes or more between two snapshots,+ heaviest first. A process absent from ``before`` counts its whole counter.+ ``None`` when either snapshot is missing: unknown, not clean."""+ if before is None or after is None:+ return None+ heavy = []+ for pid, row in after.items():+ if pid in own_pids:+ continue+ read = int(row["read"]) - int((before.get(pid) or {"read": 0})["read"])+ if read >= threshold:+ heavy.append({"pid": pid, "name": row["name"], "read_bytes": read})+ return sorted(heavy, key=lambda item: item["read_bytes"], reverse=True)diff --git a/benchmarks/harness/l2l_probe.py b/benchmarks/harness/l2l_probe.pynew file mode 100644index 00000000..1cd8dbdc--- /dev/null+++ b/benchmarks/harness/l2l_probe.py@@ -0,0 +1,538 @@+#!/usr/bin/env python3+"""L2L step 0: layer-major micro-batching on the SHIPPED streamed runtime.++The rule this runs against is §2 of benchmarks/probe-rtx5070-l2l-step0.md,+committed before the first run. Modes, one process each:++ --mode correctness GA, GA again, then L2L over the same k micro-batches;+ LoRA grads and per-micro-batch losses compared with+ torch.equal (G1). --deterministic is the fallback.+ --mode timing plain batch-1 A/B, L2L A/B at --ks, L2L C/D at --cd-k,+ two interleaved rounds (G2-G4, V2, I2, I3, I5).+ --mode spill L2L A at k=16, every activation pinned vs the lowest+ layers through an unbuffered file on --spill-dir (I4).++Every arm restores the adapter snapshot and builds a fresh optimizer, runs+under a SuspendWatch, and is appended to --out the moment it exists. A machine+without CUDA is an intentional skip and exits 0.+"""++from __future__ import annotations++import argparse+import os+import sys+import time+from pathlib import Path+from typing import Any, Dict, List, Optional, Sequence, Tuple++sys.path.insert(0, str(Path(__file__).resolve().parent))++import l2l_activations # noqa: E402+import l2l_box # noqa: E402+import l2l_schedule # noqa: E402+import stream_probe # noqa: E402++V3_MARGIN_GB = 4.0+V3_GPU_IDLE_MIB = 500+++# ==========================================================================+# planning (pure, CPU-tested)+# ==========================================================================+def plan_timing_arms(ks: Sequence[int], rounds: int, cd_k: int) -> List[Tuple[int, str, str, int]]:+ plan: List[Tuple[int, str, str, int]] = []+ for rnd in range(rounds):+ forward = rnd % 2 == 0+ pair = ("A", "B") if forward else ("B", "A")+ plan += [(rnd, "plain", arm, 1) for arm in pair]+ for k in (sorted(ks) if forward else sorted(ks, reverse=True)):+ plan += [(rnd, "l2l", arm, k) for arm in pair]+ plan += [(rnd, "l2l", arm, cd_k) for arm in (("C", "D") if forward else ("D", "C"))]+ return plan+++def plan_spill_arms(rounds: int) -> List[Tuple[int, str]]:+ plan: List[Tuple[int, str]] = []+ for rnd in range(rounds):+ order = ("pinned", "spill") if rnd % 2 == 0 else ("spill", "pinned")+ plan += [(rnd, variant) for variant in order]+ return plan+++def spill_layers_for(n_layers: int, k: int, budget_k: int) -> int:+ """Layers whose activations do not fit a pinned budget of ``budget_k`` micro-batches."""+ if budget_k < 1:+ raise ValueError(f"the pinned budget must hold at least one micro-batch; got {budget_k}")+ resident_layers = min(n_layers, (n_layers * budget_k) // k)+ return n_layers - resident_layers+++def fits_in_ram(need_bytes: int, free_gb: Optional[float],+ commit_gb: Optional[float] = None) -> bool:+ """V3's RAM row: pinning ``need_bytes`` must leave ``V3_MARGIN_GB`` of physical memory+ AND of Windows commit (page-locked memory is charged to both). Unknown free memory+ never fits: pinning blind can take the whole box, and its peers, down."""+ need_gb = need_bytes / 1e9 + V3_MARGIN_GB+ if free_gb is None or need_gb > free_gb:+ return False+ return commit_gb is None or need_gb <= commit_gb+++def _recover() -> None:+ """The shipped #901 recovery: drain the stale CUDA error AND return the page-locked+ blocks a partial store left in torch's host cache, so a failed k=16 does not keep+ ~8 GB pinned on a shared box for the rest of the block."""+ from soup_cli.utils.layer_stream_runtime import recover_from_failed_page_lock++ recover_from_failed_page_lock()+++def start_refusal(mode: str, v3: Optional[Dict[str, Any]], direct_io: Any,+ tier: str) -> Optional[str]:+ """Why a timing or spill block cannot reach a verdict before its first arm (V3, V1)."""+ if mode not in ("timing", "spill"):+ return None+ if not (v3 or {}).get("ok"):+ return f"V3 fails at the block's start: {v3}"+ if tier == "disk" and direct_io is not True:+ return f"V1 fails: the disk source reads through the page cache (direct_io={direct_io})"+ return None+++def release_arm_state(inst: Any, arm: str) -> None:+ """The nodequant arms (C, D) cache one zero weight per shape on the GPU (~1.1 GB on+ the 70B shape). Drop it, so every later arm sees the VRAM the earlier ones saw."""+ if arm not in ("C", "D"):+ return+ inst._zero_cache.clear()+ try:+ import torch+ except ImportError:+ return+ if torch.cuda.is_available():+ torch.cuda.empty_cache()+++def allocate_store(**kwargs: Any) -> Tuple[Optional[Any], Optional[str]]:+ """The store, or (None, reason) when pinning it fails (#901/#1003)."""+ try:+ return l2l_activations.ActivationStore(**kwargs), None+ except (RuntimeError, OSError) as exc:+ _recover()+ return None, f"activation store allocation failed: {exc}"+++# ==========================================================================+# arguments and build+# ==========================================================================+def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace:+ parser = argparse.ArgumentParser(description=__doc__.split("\n\n")[0])+ parser.add_argument("--mode", choices=("correctness", "timing", "spill"), required=True)+ parser.add_argument("--weights", required=True)+ parser.add_argument("--shards", default=None)+ parser.add_argument("--quant", choices=("none", "nf4"), default="nf4")+ parser.add_argument("--tier", choices=("ram", "disk"), default="disk")+ parser.add_argument("--buffers", type=int, default=2)+ parser.add_argument("--read-ahead", type=int, default=2)+ parser.add_argument("--seq", type=int, default=512)+ parser.add_argument("--lora-r", type=int, default=8)+ parser.add_argument("--lora-targets", default="q_proj,k_proj,v_proj,o_proj")+ parser.add_argument("--seed", type=int, default=3)+ parser.add_argument("--input-seed", type=int, default=17)+ parser.add_argument("--k", type=int, default=2, help="micro-batches (correctness)")+ parser.add_argument("--ks", default="1,2,3,4,8,16", help="L2L micro-batch counts (timing)")+ parser.add_argument("--cd-k", type=int, default=4)+ parser.add_argument("--steps", type=int, default=3)+ parser.add_argument("--warmup", type=int, default=1)+ parser.add_argument("--rounds", type=int, default=2)+ parser.add_argument("--spill-k", type=int, default=16)+ parser.add_argument("--spill-budget-k", type=int, default=8)+ parser.add_argument("--spill-dir", default="D:/soup-l2l-spill")+ parser.add_argument("--deterministic", action="store_true")+ parser.add_argument("--dry-run", action="store_true")+ parser.add_argument(+ "--allow-invalid",+ action="store_true",+ help="run a timing/spill block even when V1/V3 already fail at its start "+ "(its gates will have no verdict); the default exits 3",+ )+ parser.add_argument("--out", required=True)+ parser.add_argument("--label", default="")+ args = parser.parse_args(argv)+ # The fields stream_probe.build() reads and this probe never varies.+ args.lazy_shard_handles = False+ args.control_sync_source = False+ args.no_pin = False+ return args+++def chunk_shape(config: Any, seq: int) -> Tuple[int, int, int]:+ return (1, int(seq), int(config.hidden_size))+++def v3_check(need_bytes: int, gpu_used_before_mib: Optional[int]) -> Dict[str, Any]:+ mem = l2l_box.memory_status()+ pids = l2l_box.gpu_compute_pids() or []+ foreign = [pid for pid in pids if pid != os.getpid()]+ free = mem["avail_phys_gb"]+ commit = mem["commit_avail_gb"]+ need_gb = need_bytes / 1e9+ ram_ok = fits_in_ram(need_bytes, free, commit)+ gpu_ok = gpu_used_before_mib is not None and gpu_used_before_mib <= V3_GPU_IDLE_MIB+ return {+ "free_gb": free, "commit_avail_gb": commit, "need_gb": need_gb,+ "margin_gb": V3_MARGIN_GB,+ "gpu_used_before_build_mib": gpu_used_before_mib, "gpu_pids": pids,+ "foreign_gpu_pids": foreign, "ram_ok": ram_ok, "gpu_ok": gpu_ok and not foreign,+ "ok": ram_ok and gpu_ok and not foreign,+ }+++# ==========================================================================+# one L2L arm+# ==========================================================================+def run_l2l_steps(step: Any, optimizer: Any, inst: Any, micro_batches: Sequence[Any],+ store: Any, *, steps: int, warmup: int, label: str) -> Dict[str, Any]:+ import torch++ from soup_cli.utils.layer_stream_runtime import sm_clock_mhz++ pool, large = inst.pool, inst.large_pool+ tokens = sum(int(ids.numel()) for ids in micro_batches)+ records: List[Dict[str, Any]] = []+ clock_start = sm_clock_mhz()+ for index in range(warmup + steps):+ stats = store.stats+ before = (pool.loads, large.loads if large is not None else 0, stats.bytes_written,+ stats.bytes_read, stats.put_wait_s, stats.get_wait_s)+ torch.cuda.synchronize()+ if index == warmup:+ torch.cuda.reset_peak_memory_stats()+ started_unix = time.time()+ wall_start = time.perf_counter()+ losses = step.run(micro_batches, store)+ optimizer.step()+ optimizer.zero_grad(set_to_none=True)+ torch.cuda.synchronize()+ wall = time.perf_counter() - wall_start+ if index >= warmup:+ records.append({+ "step_s": wall, "started_unix": started_unix,+ "loss": stream_probe.finite(float(sum(float(loss) for loss in losses))),+ "layer_loads": pool.loads - before[0],+ "large_loads": (large.loads - before[1]) if large is not None else 0,+ "spill_written": stats.bytes_written - before[2],+ "spill_read": stats.bytes_read - before[3],+ "put_wait_s": stats.put_wait_s - before[4],+ "get_wait_s": stats.get_wait_s - before[5],+ })+ clock_end = sm_clock_mhz()+ n = len(records)+ step_mean = sum(rec["step_s"] for rec in records) / n+ per_layer = pool.nbytes // pool.n+ large_bytes = large.nbytes if large is not None else 0+ loads = sum(rec["layer_loads"] for rec in records) / n+ large_loads = sum(rec["large_loads"] for rec in records) / n+ moved = loads * per_layer + large_loads * large_bytes+ return {+ "label": label, "tokens_per_step": tokens, "steps": steps, "warmup": warmup,+ "nocopy": inst.nocopy, "nodequant": inst.nodequant,+ "step_s_mean": step_mean,+ "step_s_min": min(rec["step_s"] for rec in records),+ "step_s_max": max(rec["step_s"] for rec in records),+ "tok_per_s": tokens / step_mean,+ "layer_loads_per_step": loads, "large_loads_per_step": large_loads,+ "bytes_moved_per_step": moved, "implied_h2d_gb_per_s": moved / step_mean / 1e9,+ "peak_alloc_gb": torch.cuda.max_memory_allocated() / 1e9,+ "peak_reserved_gb": torch.cuda.max_memory_reserved() / 1e9,+ "sm_clock_mhz_start": clock_start, "sm_clock_mhz_end": clock_end,+ "records": records,+ }+++def _store_kwargs(config: Any, args: argparse.Namespace, k: int, dtype: Any,+ spill_layers: int = 0) -> Dict[str, Any]:+ kwargs: Dict[str, Any] = dict(+ n_layers=int(config.num_hidden_layers), k=k, chunk_shape=chunk_shape(config, args.seq),+ dtype=dtype, device="cuda", pin=True, spill_layers=spill_layers,+ )+ if spill_layers:+ Path(args.spill_dir).mkdir(parents=True, exist_ok=True)+ path = str(Path(args.spill_dir) / f"l2l-spill-{os.getpid()}.bin")+ kwargs["spill_factory"] = lambda size: l2l_activations.DirectSpillFile(path, size)+ return kwargs+++def _store_bytes(config: Any, args: argparse.Namespace, k: int, element: int) -> int:+ return int(config.num_hidden_layers) * k * args.seq * int(config.hidden_size) * element+++# ==========================================================================+# modes+# ==========================================================================+def mode_correctness(args, model, runtime, config, sink, torch_dtype) -> None:+ import torch++ l2l_schedule.make_non_vacuous(model)+ gen = torch.Generator(device="cuda").manual_seed(args.input_seed)+ vocab = int(config.vocab_size)+ mbs = [torch.randint(0, vocab, (1, args.seq), generator=gen, device="cuda")+ for _ in range(args.k)]+ record: Dict[str, Any] = {"kind": "correctness", "fixture": args.label, "k": args.k,+ "deterministic": bool(args.deterministic)}+ try:+ l2l_schedule.zero_grads(model)+ ga1 = l2l_schedule.ga_step(model, mbs)+ g1 = l2l_schedule.collect_grads(model)+ l2l_schedule.zero_grads(model)+ ga2 = l2l_schedule.ga_step(model, mbs)+ g2 = l2l_schedule.collect_grads(model)+ call = l2l_schedule.capture_layer_call(model, mbs[0])+ step = l2l_schedule.L2LStep(model, runtime, call)+ store, reason = allocate_store(**_store_kwargs(config, args, args.k, torch_dtype))+ if store is None:+ record["skipped"] = reason+ sink.add("correctness", record)+ return+ l2l_schedule.zero_grads(model)+ losses = step.run(mbs, store)+ g3 = l2l_schedule.collect_grads(model)+ store.close()+ except RuntimeError as exc:+ if not args.deterministic:+ raise+ record["deterministic_error"] = str(exc)+ sink.add("correctness", record)+ return+ record.update({+ "a_vs_a": l2l_schedule.compare(g1, g2),+ "a_vs_a_losses_equal": l2l_schedule.losses_equal(ga1, ga2),+ "l2l": l2l_schedule.compare(g1, g3),+ "l2l_losses_equal": l2l_schedule.losses_equal(ga1, losses),+ "losses_ga": [float(x) for x in ga1], "losses_l2l": [float(x) for x in losses],+ })+ sink.add("correctness", record)+ print(f"correctness {args.label} k={args.k}: A-vs-A {record['a_vs_a']['equal']}, "+ f"L2L {record['l2l']['equal']} (max |d| {record['l2l']['max_abs']:.3e}), "+ f"losses {record['l2l_losses_equal']}")+++def observe(body: Any, *, interval: float = 2.0) -> Dict[str, Any]:+ """Run ``body()`` under a SuspendWatch (V5) and a foreign-reader snapshot pair (V6),+ and attach the box stamps from before and after."""+ watch = l2l_box.SuspendWatch(interval=interval)+ box_before = l2l_box.box_stamp()+ reads_before = l2l_box.process_read_bytes()+ watch.start()+ try:+ result = body()+ finally:+ suspend = watch.stop()+ reads_after = l2l_box.process_read_bytes()+ result.update({+ "suspend": suspend,+ "box_before": box_before,+ "box_after": l2l_box.box_stamp(),+ "foreign_readers": l2l_box.foreign_readers(+ reads_before, reads_after, own_pids={os.getpid()}+ ),+ })+ return result+++def _arm(args, model, inst, snapshot, label, body) -> Dict[str, Any]:+ import bitsandbytes as bnb++ l2l_schedule.restore_adapters(model, snapshot)+ trainable = [p for p in model.parameters() if p.requires_grad]+ optimizer = bnb.optim.PagedAdamW8bit(trainable, lr=1e-4)+ result = observe(lambda: body(optimizer))+ result["label"] = label+ return result+++def mode_timing(args, model, runtime, config, sink, torch_dtype, meta) -> None:+ import torch++ inst = stream_probe.Instruments(runtime, model, args.quant)+ snapshot = l2l_schedule.snapshot_adapters(model)+ ks = sorted({int(part) for part in args.ks.split(",") if part.strip()})+ gen = torch.Generator(device="cuda").manual_seed(args.input_seed)+ vocab = int(config.vocab_size)+ pool_mbs = [torch.randint(0, vocab, (1, args.seq), generator=gen, device="cuda")+ for _ in range(max(ks + [args.cd_k]))]+ call = l2l_schedule.capture_layer_call(model, pool_mbs[0])+ step = l2l_schedule.L2LStep(model, runtime, call)+ element = torch.empty((), dtype=torch_dtype).element_size()+ free_gb = meta["v3"]["free_gb"]+ commit_gb = meta["v3"]["commit_avail_gb"]+ fits = {k: fits_in_ram(_store_bytes(config, args, k, element), free_gb, commit_gb)+ for k in ks + [args.cd_k]}+ for rnd, mode, arm, k in plan_timing_arms(ks, args.rounds, args.cd_k):+ inst.nocopy = arm in ("B", "D")+ inst.nodequant = arm in ("C", "D")+ label = f"{mode}_{arm}_k{k}_r{rnd}"+ base = {"kind": "arm", "mode": mode, "arm": arm, "k": k, "round": rnd, "variant": None,+ "skipped": None, "store": None}+ if mode == "plain":+ result = _arm(args, model, inst, snapshot, label, lambda opt: stream_probe.run_steps(+ model, opt, inst, pool_mbs[0], steps=args.steps, warmup=args.warmup, label=label))+ elif not fits[k]:+ need_gb = _store_bytes(config, args, k, element) / 1e9+ result = {"skipped": f"V3: k={k} needs {need_gb:.1f} GB + {V3_MARGIN_GB} GB, "+ f"{free_gb} GB free",+ "step_s_mean": None}+ else:+ store, reason = allocate_store(**_store_kwargs(config, args, k, torch_dtype))+ if store is None:+ result = {"skipped": reason, "step_s_mean": None}+ else:+ try:+ result = _arm(args, model, inst, snapshot, label, lambda opt: run_l2l_steps(+ step, opt, inst, pool_mbs[:k], store, steps=args.steps,+ warmup=args.warmup, label=label))+ result["store"] = vars(store.stats).copy()+ finally:+ store.close()+ del store+ sink.add("arm", {**base, **result})+ release_arm_state(inst, arm)+ print(f"{label:<22} " + (f"SKIPPED {result['skipped']}" if result.get("skipped") else+ f"{result['tok_per_s']:7.1f} tok/s step {result['step_s_mean']:.3f} s "+ f"peak {result['peak_alloc_gb']:.3f} GB void {result['suspend']['void']}"))+ inst.nocopy = inst.nodequant = False+++def mode_spill(args, model, runtime, config, sink, torch_dtype, meta) -> None:+ import torch++ inst = stream_probe.Instruments(runtime, model, args.quant)+ snapshot = l2l_schedule.snapshot_adapters(model)+ gen = torch.Generator(device="cuda").manual_seed(args.input_seed)+ vocab = int(config.vocab_size)+ mbs = [torch.randint(0, vocab, (1, args.seq), generator=gen, device="cuda")+ for _ in range(args.spill_k)]+ step = l2l_schedule.L2LStep(model, runtime, l2l_schedule.capture_layer_call(model, mbs[0]))+ spill_layers = spill_layers_for(int(config.num_hidden_layers), args.spill_k,+ args.spill_budget_k)+ meta["spill_layers"] = spill_layers+ for rnd, variant in plan_spill_arms(args.rounds):+ label = f"spill_{variant}_k{args.spill_k}_r{rnd}"+ base = {"kind": "arm", "mode": "l2l", "arm": "A", "k": args.spill_k, "round": rnd,+ "variant": variant, "skipped": None, "store": None}+ layers = spill_layers if variant == "spill" else 0+ element = torch.empty((), dtype=torch_dtype).element_size()+ resident = _store_bytes(config, args, args.spill_k, element)+ resident = resident * (int(config.num_hidden_layers) - layers) // int(+ config.num_hidden_layers)+ store, reason = None, None+ if not fits_in_ram(resident, meta["v3"]["free_gb"], meta["v3"]["commit_avail_gb"]):+ reason = (f"V3: {resident / 1e9:.1f} GB pinned + {V3_MARGIN_GB} GB margin, "+ f"{meta['v3']['free_gb']} GB free")+ else:+ store, reason = allocate_store(**_store_kwargs(+ config, args, args.spill_k, torch_dtype, spill_layers=layers))+ if store is None:+ result = {"skipped": reason, "step_s_mean": None}+ elif layers and not store.stats.direct:+ store.close()+ result = {"skipped": "the spill backend is not unbuffered", "step_s_mean": None}+ else:+ try:+ result = _arm(args, model, inst, snapshot, label, lambda opt: run_l2l_steps(+ step, opt, inst, mbs, store, steps=args.steps, warmup=args.warmup,+ label=label))+ result["store"] = vars(store.stats).copy()+ if layers:+ meta["spill_direct"] = bool(store.stats.direct)+ finally:+ store.close()+ sink.add("arm", {**base, **result})+ print(f"{label:<24} " + (f"SKIPPED {result['skipped']}" if result.get("skipped") else+ f"{result['tok_per_s']:7.1f} tok/s step {result['step_s_mean']:.3f} s"))+ sink.flush()+++def main(argv: Optional[Sequence[str]] = None) -> int:+ args = parse_args(argv)+ if args.deterministic:+ os.environ["CUBLAS_WORKSPACE_CONFIG"] = ":4096:8"+ if not stream_probe.cuda_available():+ print("SKIP: CUDA is required for l2l_probe.py")+ return 0+ import torch++ from soup_cli.utils.layer_stream import resolve_stream_dtype++ if args.deterministic:+ torch.use_deterministic_algorithms(True)+ gpu_before = l2l_box.gpu_memory_used_mib()+ device = "cuda"+ dtype = resolve_stream_dtype(device)+ torch_dtype = getattr(torch, dtype)+ facts = stream_probe.gpu_facts(device)+ print("RUN: L2L step-0 probe, mode", args.mode)+ for key, value in facts.items():+ print(f"{key:<16}{value}")+ model, runtime, config, index, weights_dir, shard_dir, shard_s, build_s = stream_probe.build(+ args, device, dtype)+ stats = runtime.stats()+ direct_io = getattr(runtime.source, "direct_io", None)+ element = torch.empty((), dtype=torch_dtype).element_size()+ if args.mode == "timing":+ biggest = max([int(p) for p in args.ks.split(",") if p.strip()] + [args.cd_k])+ elif args.mode == "spill":+ biggest = args.spill_k+ else:+ biggest = args.k+ need = _store_bytes(config, args, biggest, element)+ meta = {**facts, **vars(args), "weights_dir": weights_dir, "shard_dir": shard_dir,+ "dtype": dtype, "arch": str(config.model_type), "n_layers": stats["n_layers"],+ "hidden": int(config.hidden_size), "tier": stats["tier"], "pinned": stats["pinned"],+ "source_class": type(runtime.source).__name__, "direct_io": direct_io,+ "read_ahead": stats["read_ahead"], "store_gb": stats["store_bytes"] / 1e9,+ "shard_seconds": shard_s, "build_seconds": build_s,+ "chunk_bytes": args.seq * int(config.hidden_size) * element,+ "v3": v3_check(need, gpu_before), "box": l2l_box.box_stamp(),+ "started": time.strftime("%Y-%m-%dT%H:%M:%S")}+ print(f"{'shard_dir':<16}{shard_dir}\n{'direct_io':<16}{direct_io}\n"+ f"{'v3':<16}{meta['v3']}")+ sink = stream_probe.Sink(args.out, meta)+ refusal = start_refusal(args.mode, meta["v3"], direct_io, stats["tier"])+ if args.dry_run:+ print(f"dry run: a real {args.mode} block would "+ + (f"be REFUSED: {refusal}" if refusal else "start"))+ if fits_in_ram(need, meta["v3"]["free_gb"], meta["v3"]["commit_avail_gb"]):+ store, reason = allocate_store(**_store_kwargs(config, args, biggest, torch_dtype))+ print(f"dry run: pinned store for k={biggest} "+ f"{'allocated' if store is not None else 'FAILED: ' + str(reason)}")+ if store is not None:+ store.close()+ else:+ print(f"dry run: k={biggest} needs {need / 1e9:.1f} GB pinned + {V3_MARGIN_GB} GB; "+ f"{meta['v3']['free_gb']} GB free — NOT allocated (V3 would skip it)")+ runtime.close()+ return 0+ if refusal and not args.allow_invalid:+ meta["refused"] = refusal+ sink.payload["meta"] = meta+ sink.flush()+ runtime.close()+ print(f"REFUSED (exit 3): {refusal}. --allow-invalid runs it anyway, without a verdict.")+ return 3+ if args.mode == "correctness":+ mode_correctness(args, model, runtime, config, sink, torch_dtype)+ elif args.mode == "timing":+ mode_timing(args, model, runtime, config, sink, torch_dtype, meta)+ else:+ mode_spill(args, model, runtime, config, sink, torch_dtype, meta)+ sink.payload["meta"] = meta+ sink.flush()+ runtime.close()+ print(f"wrote {args.out}")+ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/benchmarks/harness/l2l_rule.py b/benchmarks/harness/l2l_rule.pynew file mode 100644index 00000000..841343c4--- /dev/null+++ b/benchmarks/harness/l2l_rule.py@@ -0,0 +1,253 @@+#!/usr/bin/env python3+"""The L2L step-0 verdict, recomputed from the committed JSON alone.++Implements §2 of benchmarks/probe-rtx5070-l2l-step0.md: gates G1-G4, validity+rows V1-V6 and the informational rows. A gate whose inputs fail a validity row+reports "no verdict", never a pass. Standard library only.++Usage: python benchmarks/harness/l2l_rule.py <results dir>+"""++from __future__ import annotations++import json+import sys+from pathlib import Path+from typing import Any, Dict, List, Optional, Sequence, Tuple++V2_LOADS = 0.5+V2_BYTES = 1e6+V4_TOL = 0.05+G2_RATIO = 0.8+G3_RATIO = 1.3+G4_GB = 0.5+I4_FREE = 0.95+PASS, FAIL, NONE = "pass", "fail", "no verdict"+++def _load(path: Path) -> Optional[Dict[str, Any]]:+ if not path.exists():+ return None+ return json.loads(path.read_text(encoding="utf-8"))+++def _rows(records: Sequence[Dict[str, Any]], mode: str, arm: str, k: int,+ variant: Optional[str] = None) -> List[Dict[str, Any]]:+ return [+ rec for rec in records+ if rec.get("kind") == "arm" and rec["mode"] == mode and rec["arm"] == arm+ and rec["k"] == k and rec.get("variant") == variant+ ]+++def arm_value(rows: Sequence[Dict[str, Any]]) -> Dict[str, Any]:+ """Mean of the two rounds, and why it is invalid if it is (V3 skip, V4, V5, V6)."""+ why: List[str] = []+ measured = [rec for rec in rows if not rec.get("skipped") and rec.get("step_s_mean")]+ for rec in rows:+ if rec.get("skipped"):+ why.append(f"skipped: {rec['skipped']}")+ elif (rec.get("suspend") or {}).get("void"):+ why.append(f"V5: round {rec['round']} void (sleep or battery)")+ elif rec.get("foreign_readers"):+ heavy = ", ".join(+ f"{row['name']} {row['read_bytes'] / 1e9:.2f} GB" for row in rec["foreign_readers"]+ )+ why.append(f"V6: round {rec['round']} foreign reader {heavy}")+ if len(measured) != 2:+ why.append(f"{len(measured)} measured rounds, need 2")+ return {"valid": False, "why": why, "value": None, "tok_s": None, "peak": None}+ first, second = (rec["step_s_mean"] for rec in measured)+ value = (first + second) / 2+ spread = abs(first - second) / value+ if spread > V4_TOL:+ why.append(f"V4: round spread {100 * spread:.1f}% > {100 * V4_TOL:.0f}%")+ return {+ "valid": not why,+ "why": why,+ "value": value,+ "spread": spread,+ "tok_s": measured[0]["tokens_per_step"] / value,+ "peak": max(rec["peak_alloc_gb"] for rec in measured),+ }+++def _gate(status: str, detail: str) -> Dict[str, str]:+ return {"status": status, "detail": detail}+++def _first(payload: Optional[Dict[str, Any]]) -> Optional[Dict[str, Any]]:+ records = (payload or {}).get("records") or []+ return records[0] if records else None+++def _not_exact(rec: Optional[Dict[str, Any]]) -> Optional[str]:+ """Why a correctness record cannot be judged (None when it can)."""+ if rec is None:+ return "no correctness record (a missing file, or a block that crashed)"+ if rec.get("skipped"):+ return f"skipped: {rec['skipped']}"+ if rec.get("deterministic_error"):+ return f"deterministic mode raised: {rec['deterministic_error']}"+ a_vs_a = rec.get("a_vs_a") or {}+ if not (a_vs_a.get("equal") and rec.get("a_vs_a_losses_equal")):+ return f"GA vs GA not exact (max |d| {float(a_vs_a.get('max_abs', float('nan'))):.3e})"+ if not rec.get("l2l"):+ return "no L2L comparison in the record"+ return None+++def _g1_fixture(default: Optional[Dict[str, Any]], det: Optional[Dict[str, Any]],+ name: str) -> Dict[str, str]:+ chosen = _first(default)+ why = _not_exact(chosen)+ if why is not None:+ det_rec = _first(det)+ det_why = _not_exact(det_rec) if det is not None else "missing"+ if det_why is not None:+ return _gate(NONE, f"{name}: {why}; deterministic re-run: {det_why}")+ chosen = det_rec+ zero = chosen["a_vs_a"]["all_zero"]+ if zero:+ return _gate(FAIL, f"{name}: all-zero reference gradients {zero[:3]}")+ mode = "deterministic" if chosen.get("deterministic") else "default kernels"+ if chosen["l2l"]["equal"] and chosen["l2l_losses_equal"]:+ return _gate(PASS, f"{name}: {chosen['l2l']['tensors']} tensors + losses equal ({mode})")+ return _gate(FAIL, f"{name}: {len(chosen['l2l']['unequal'])} tensors differ, max |d| "+ f"{chosen['l2l']['max_abs']:.3e}, losses equal "+ f"{chosen['l2l_losses_equal']} ({mode})")+++def _combine(parts: Sequence[Dict[str, str]]) -> Dict[str, str]:+ statuses = [part["status"] for part in parts]+ status = FAIL if FAIL in statuses else (NONE if NONE in statuses else PASS)+ return _gate(status, "; ".join(part["detail"] for part in parts))+++def evaluate(results_dir: str) -> Dict[str, Any]:+ root = Path(results_dir)+ g1 = _combine([+ _g1_fixture(_load(root / f"correctness_{tag}.json"),+ _load(root / f"correctness_{tag}_det.json"), tag.upper())+ for tag in ("f1", "f2")+ ])++ timing = _load(root / "timing.json") or {"meta": {}, "records": []}+ recs = timing["records"]+ meta = timing.get("meta", {})+ arms = {key: arm_value(_rows(recs, *key)) for key in [+ ("plain", "A", 1), ("plain", "B", 1), ("l2l", "A", 1), ("l2l", "B", 1),+ ("l2l", "A", 16), ("l2l", "B", 16), ("l2l", "A", 4), ("l2l", "B", 4),+ ("l2l", "C", 4), ("l2l", "D", 4), ("l2l", "A", 2), ("l2l", "A", 3),+ ]}+ v1 = {"ok": meta.get("direct_io") is True, "detail": f"direct_io={meta.get('direct_io')}"}+ v3 = {"ok": bool((meta.get("v3") or {}).get("ok")), "detail": str(meta.get("v3"))}++ def work(mode: str, arm: str) -> Optional[Tuple[float, float]]:+ """Mean loads and bytes per step over the rounds that ran. Timing validity (V4,+ V5, V6) does not enter: V2 is about the work, and a gate that reads an arm's+ time already carries that arm's own validity."""+ rows = [rec for rec in _rows(recs, mode, arm, 1)+ if not rec.get("skipped") and rec.get("step_s_mean")]+ if not rows:+ return None+ loads = sum(rec.get("layer_loads_per_step", 0.0) + rec.get("large_loads_per_step", 0.0)+ for rec in rows) / len(rows)+ moved = sum(rec.get("bytes_moved_per_step", 0.0) for rec in rows) / len(rows)+ return loads, moved++ def same_work(arm: str) -> Tuple[bool, str]:+ """V2: L2L at k=1 moves exactly the shipped batch-1 step's loads and bytes."""+ l2l, plain = work("l2l", arm), work("plain", arm)+ if l2l is None or plain is None:+ return False, f"{arm}: L2L at k=1 or the shipped step has no measured round"+ ok = abs(l2l[0] - plain[0]) <= V2_LOADS and abs(l2l[1] - plain[1]) <= V2_BYTES+ return ok, (f"{arm}: loads {l2l[0]:.1f} vs {plain[0]:.1f}, "+ f"bytes {l2l[1] / 1e9:.3f} vs {plain[1] / 1e9:.3f} GB")++ (ok_a, detail_a), (ok_b, detail_b) = same_work("A"), same_work("B")+ v2 = {"ok": ok_a and ok_b, "detail": f"{detail_a}; {detail_b}"}+ global_ok = v1["ok"] and v2["ok"] and v3["ok"]+ global_why = [name for name, row in (("V1", v1), ("V2", v2), ("V3", v3)) if not row["ok"]]++ def timing_gate(needed: Sequence[Tuple[str, str, int]], test, detail) -> Dict[str, str]:+ bad = [f"{key}: {', '.join(arms[key]['why'])}" for key in needed if not arms[key]["valid"]]+ if not global_ok or bad:+ return _gate(NONE, "; ".join(global_why + bad))+ return _gate(PASS if test() else FAIL, detail())++ a16, b16, a1 = ("l2l", "A", 16), ("l2l", "B", 16), ("l2l", "A", 1)+ g2 = timing_gate([a16, b16], lambda: arms[a16]["tok_s"] >= G2_RATIO * arms[b16]["tok_s"],+ lambda: f"T_A(16) {arms[a16]['tok_s']:.1f} vs 0.8 x T_B(16) "+ f"{G2_RATIO * arms[b16]['tok_s']:.1f} tok/s")+ g3 = timing_gate([a16, a1], lambda: arms[a16]["tok_s"] >= G3_RATIO * arms[a1]["tok_s"],+ lambda: f"T_A(16) {arms[a16]['tok_s']:.1f} vs 1.3 x T_A(1) "+ f"{G3_RATIO * arms[a1]['tok_s']:.1f} tok/s")+ g4 = timing_gate([a16, a1], lambda: arms[a16]["peak"] <= arms[a1]["peak"] + G4_GB,+ lambda: f"peak A16 {arms[a16]['peak']:.3f} vs A1 {arms[a1]['peak']:.3f} "+ f"+ {G4_GB} GB")+ gates = {"G1": g1, "G2": g2, "G3": g3, "G4": g4}++ info: Dict[str, Any] = {}+ ratios = {}+ for arm in ("A", "B"):+ l2l, plain = arms[("l2l", arm, 1)], arms[("plain", arm, 1)]+ if l2l["valid"] and plain["valid"]:+ ratios[arm.lower()] = l2l["value"] / plain["value"]+ if ratios:+ info["I6"] = ratios+ b4, d4, c4, a4 = (arms[("l2l", x, 4)] for x in ("B", "D", "C", "A"))+ if b4["valid"] and d4["valid"]:+ c_over_a = c4["value"] / a4["value"] if c4["valid"] and a4["valid"] else None+ info["I2"] = {"dequant_share": (b4["value"] - d4["value"]) / b4["value"],+ "c4_over_a4": c_over_a}+ p1b = arms[("plain", "B", 1)]+ if arms[b16]["valid"] and p1b["valid"]:+ info["I3"] = {"overhead": arms[b16]["value"] / (16 * p1b["value"])}+ spill = _load(root / "spill.json")+ if spill:+ pinned = arm_value(_rows(spill["records"], "l2l", "A", 16, "pinned"))+ spilled = arm_value(_rows(spill["records"], "l2l", "A", 16, "spill"))+ if pinned["valid"] and spilled["valid"]:+ ratio = spilled["tok_s"] / pinned["tok_s"]+ info["I4"] = {"ratio": ratio, "free": ratio >= I4_FREE,+ "direct": spill.get("meta", {}).get("spill_direct")}+ info["arms"] = {f"{m}/{a}/k{k}": row for (m, a, k), row in arms.items()}++ statuses = {name: gate["status"] for name, gate in gates.items()}+ if all(status == PASS for status in statuses.values()):+ verdict = "BUILD STEP 1"+ elif FAIL in statuses.values():+ verdict = "STOP: " + ", ".join(n for n, s in statuses.items() if s == FAIL) + " failed"+ else:+ verdict = "NO VERDICT: " + ", ".join(n for n, s in statuses.items() if s == NONE)+ return {"gates": gates, "validity": {"V1": v1, "V2": v2, "V3": v3}, "info": info,+ "verdict": verdict}+++def main(argv: Sequence[str]) -> int:+ if len(argv) != 2:+ print("usage: l2l_rule.py <results dir>")+ return 2+ out = evaluate(argv[1])+ print("| gate | status | detail |\n|---|---|---|")+ for name, gate in out["gates"].items():+ print(f"| {name} | {gate['status']} | {gate['detail']} |")+ print("\n| row | ok | detail |\n|---|---|---|")+ for name, row in out["validity"].items():+ print(f"| {name} | {row['ok']} | {row['detail']} |")+ print("\n| arm | valid | step s | tok/s | peak GB | why |\n|---|---|---|---|---|---|")+ for name, row in out["info"]["arms"].items():+ value = f"{row['value']:.3f}" if row["value"] else "-"+ tok = f"{row['tok_s']:.1f}" if row["tok_s"] else "-"+ peak = f"{row['peak']:.3f}" if row["peak"] else "-"+ print(f"| {name} | {row['valid']} | {value} | {tok} | {peak} | {'; '.join(row['why'])} |")+ for key in ("I2", "I3", "I4", "I6"):+ if key in out["info"]:+ print(f"\n{key}: {out['info'][key]}")+ print(f"\n**Verdict: {out['verdict']}**")+ return 0+++if __name__ == "__main__":+ sys.exit(main(sys.argv))diff --git a/benchmarks/harness/l2l_schedule.py b/benchmarks/harness/l2l_schedule.pynew file mode 100644index 00000000..58f10e3b--- /dev/null+++ b/benchmarks/harness/l2l_schedule.py@@ -0,0 +1,270 @@+#!/usr/bin/env python3+"""One layer-major (L2L) step over the SHIPPED streamed model, and its GA reference.++L2L (plan.md § "Giant MoE", step 0; Pudipeddi et al., arXiv 2002.05645): load a+decoder layer once per step, run all k micro-batches through it, park each+micro-batch's boundary activation in host RAM, and walk the backward the same+way in reverse. The harness drives the shipped modules and nothing else:++* ``StreamedDecoderLayer._body`` calls ``pool.wait(idx)`` and then+ ``prefetcher.advance(idx)``. A second call on the same index leaves the+ direction alone and finds the next layer already owned, so k calls on a loaded+ layer load nothing. The L2L load sequence (forward 0..L-1, then L-1..0) is+ today's, and ``AsyncDiskSource`` infers its direction from that order.+* The decoder container's forward pre-hook (``runtime.hook``, the shipped+ ``_prime``) is called directly, because the harness bypasses+ ``LlamaModel.forward``.+* All k embedding lookups run before layer 0's first ``advance`` queues the head+ into the shared large slot; ``LargeLayerBufferPool.load_async`` orders that+ refill after them on the compute stream.+* The backward turns the wrapper's checkpoint off for its per-(layer,+ micro-batch) forward+backward, which would otherwise pay a third forward.+* The top-level forward is re-implemented for Llama/Mistral only:+ ``embed_tokens`` -> layers with the kwargs HF passed to layer 0 -> ``norm`` ->+ ``lm_head(h[:, slice(0, None), :])`` -> the model's own ``loss_function``+ with ``num_items_in_batch``. ``capture_layer_call`` records the layer kwargs+ from a real forward instead of rebuilding the rotary embeddings and the mask.++Benchmark harness code, not shipped. torch is imported inside functions.+"""++from __future__ import annotations++from dataclasses import dataclass+from typing import Any, Dict, List, Optional, Sequence, Tuple++SUPPORTED_ARCHS = ("llama", "mistral")+++@dataclass(frozen=True)+class LayerCall:+ """What HF passes to every decoder layer after ``hidden_states``."""++ args: Tuple[Any, ...]+ kwargs: Dict[str, Any]+++def model_parts(model: Any) -> Tuple[Any, Any]:+ """(the CausalLM under any PEFT wrapper, the container that owns ``.layers``)."""+ from soup_cli.utils.layer_stream_runtime import decoder_owner++ owner = decoder_owner(model)+ causal = model.get_base_model() if hasattr(model, "get_base_model") else model+ arch = str(getattr(getattr(causal, "config", None), "model_type", ""))+ if arch not in SUPPORTED_ARCHS:+ raise ValueError(+ f"the L2L probe re-implements the top-level forward of {SUPPORTED_ARCHS} only; "+ f"got {arch!r}"+ )+ for name in ("lm_head", "loss_function"):+ if getattr(causal, name, None) is None:+ raise ValueError(f"the causal LM has no {name!r}")+ return causal, owner+++def label_tokens(micro_batches: Sequence[Any]) -> int:+ """HF's ``num_items_in_batch`` when labels == input_ids: seq - 1 per row."""+ return sum(int(ids.shape[0]) * (int(ids.shape[1]) - 1) for ids in micro_batches)+++def capture_layer_call(model: Any, input_ids: Any) -> LayerCall:+ """Run one forward without grad and record what layer 0 receives."""+ import torch++ _causal, owner = model_parts(model)+ seen: Dict[str, Any] = {}++ def hook(_module: Any, args: Tuple[Any, ...], kwargs: Dict[str, Any]) -> None:+ if "call" not in seen:+ seen["call"] = (tuple(args[1:]), dict(kwargs))++ handle = owner.layers[0].register_forward_pre_hook(hook, with_kwargs=True)+ try:+ with torch.no_grad():+ model(input_ids=input_ids)+ finally:+ handle.remove()+ if "call" not in seen:+ raise RuntimeError("decoder layer 0 was never called by the forward")+ args, kwargs = seen["call"]+ kwargs.pop("num_items_in_batch", None)+ return LayerCall(args=args, kwargs=kwargs)+++def ga_step(+ model: Any, micro_batches: Sequence[Any], *, n_items: Optional[int] = None+) -> List[Any]:+ """Gradient accumulation through the shipped forward: k forward/backward calls,+ each micro-batch's summed loss divided by the label tokens of ALL k."""+ total = label_tokens(micro_batches) if n_items is None else int(n_items)+ losses = []+ for ids in micro_batches:+ out = model(input_ids=ids, labels=ids, num_items_in_batch=total)+ out.loss.backward()+ losses.append(out.loss.detach())+ return losses+++class L2LStep:+ """One layer-major step: forward, head, backward. No optimizer step."""++ def __init__(self, model: Any, runtime: Any, call: LayerCall):+ self.causal, self.owner = model_parts(model)+ self.layers = list(self.owner.layers)+ self.call = call+ hook = getattr(runtime, "hook", None)+ prime = self.owner._forward_pre_hooks.get(getattr(hook, "id", None))+ if prime is None:+ raise RuntimeError(+ "the streaming prime hook is not installed on the decoder container; "+ "the L2L step cannot load the embedding and prime the prefetcher"+ )+ self._prime = prime++ def _layer(self, layer: Any, hidden: Any) -> Any:+ out = layer(hidden, *self.call.args, **self.call.kwargs)+ return out[0] if isinstance(out, tuple) else out++ def run(+ self, micro_batches: Sequence[Any], store: Any, *, n_items: Optional[int] = None+ ) -> List[Any]:+ import torch++ k = len(micro_batches)+ if k < 1:+ raise ValueError("an L2L step needs at least one micro-batch")+ if k > store.k:+ raise ValueError(f"{k} micro-batches, but the activation store holds {store.k}")+ total = label_tokens(micro_batches) if n_items is None else int(n_items)+ vocab = int(self.causal.config.vocab_size)++ self._prime(self.owner, ())+ with torch.no_grad():+ hidden = [self.owner.embed_tokens(ids) for ids in micro_batches]+ for idx, layer in enumerate(self.layers):+ for mb in range(k):+ store.put(idx, mb, hidden[mb])+ hidden[mb] = self._layer(layer, hidden[mb])++ losses: List[Any] = []+ grads: List[Any] = []+ for mb, ids in enumerate(micro_batches):+ last = hidden[mb].detach().requires_grad_(True)+ hidden[mb] = None+ with torch.enable_grad():+ normed = self.owner.norm(last)+ logits = self.causal.lm_head(normed[:, slice(0, None), :])+ loss = self.causal.loss_function(+ logits=logits, labels=ids, vocab_size=vocab, num_items_in_batch=total+ )+ loss.backward()+ losses.append(loss.detach())+ grads.append(last.grad)++ store.begin_backward()+ for idx in range(len(self.layers) - 1, -1, -1):+ layer = self.layers[idx]+ saved = layer.use_checkpoint+ layer.use_checkpoint = False+ try:+ for mb in range(k):+ inputs = store.get(idx, mb).requires_grad_(True)+ with torch.enable_grad():+ out = self._layer(layer, inputs)+ torch.autograd.backward(out, grad_tensors=grads[mb])+ grads[mb] = inputs.grad+ finally:+ layer.use_checkpoint = saved+ store.end_step()+ return losses+++# --------------------------------------------------------------------------+# adapters and gradients+# --------------------------------------------------------------------------+def lora_parameters(model: Any) -> Dict[str, Any]:+ from soup_cli.utils.layer_stream_runtime import canonical_named_parameters++ params = {+ name: param+ for name, param in canonical_named_parameters(model)+ if "lora_" in name and param.requires_grad+ }+ if not params:+ raise RuntimeError("the model has no trainable LoRA parameters")+ return params+++def make_non_vacuous(model: Any, seed: int = 23, scale: float = 0.02) -> None:+ """PEFT initialises lora_B to zero, which makes every lora_A gradient zero."""+ import torch++ generator = torch.Generator().manual_seed(seed)+ with torch.no_grad():+ for name, param in sorted(lora_parameters(model).items()):+ if "lora_B" in name:+ values = torch.randn(param.shape, generator=generator) * scale+ param.copy_(values.to(param.device, param.dtype))+++def snapshot_adapters(model: Any) -> Dict[str, Any]:+ return {name: param.detach().clone() for name, param in lora_parameters(model).items()}+++def zero_grads(model: Any) -> None:+ for param in lora_parameters(model).values():+ param.grad = None+++def restore_adapters(model: Any, snapshot: Dict[str, Any]) -> None:+ import torch++ params = lora_parameters(model)+ if set(params) != set(snapshot):+ raise RuntimeError("the adapter snapshot does not match the model's LoRA parameters")+ with torch.no_grad():+ for name, param in params.items():+ param.copy_(snapshot[name])+ zero_grads(model)+++def collect_grads(model: Any) -> Dict[str, Any]:+ out = {}+ for name, param in lora_parameters(model).items():+ if param.grad is None:+ raise RuntimeError(f"{name} received no gradient")+ out[name] = param.grad.detach().to("cpu", copy=True)+ return out+++def compare(reference: Dict[str, Any], candidate: Dict[str, Any]) -> Dict[str, Any]:+ import torch++ if set(reference) != set(candidate):+ missing = sorted(set(reference) ^ set(candidate))[:4]+ raise ValueError(f"the two gradient sets name different tensors, e.g. {missing}")+ unequal, zero, diffs = [], [], []+ for name in sorted(reference):+ left, right = reference[name], candidate[name]+ if not int(torch.count_nonzero(left)):+ zero.append(name)+ if not torch.equal(left, right):+ unequal.append(name)+ diffs.append((float((left.float() - right.float()).abs().max()), name))+ diffs.sort(reverse=True)+ return {+ "tensors": len(reference),+ "unequal": unequal,+ "max_abs": diffs[0][0] if diffs else 0.0,+ "worst": [{"name": name, "max_abs": value} for value, name in diffs[:5]],+ "all_zero": zero,+ "equal": not unequal,+ }+++def losses_equal(left: Sequence[Any], right: Sequence[Any]) -> bool:+ import torch++ return len(left) == len(right) and all(+ torch.equal(a.detach().cpu(), b.detach().cpu()) for a, b in zip(left, right)+ )diff --git a/benchmarks/harness/l2l_session.sh b/benchmarks/harness/l2l_session.shnew file mode 100644index 00000000..d97f7398--- /dev/null+++ b/benchmarks/harness/l2l_session.sh@@ -0,0 +1,55 @@+#!/usr/bin/env bash+# L2L step 0 — the four blocks of benchmarks/probe-rtx5070-l2l-step0.md §1,+# one process each, every log to its own file. Run from the worktree root, on+# AC with the lid open, after every live session granted the hold.+set -u+cd "$(dirname "$0")/../.."+OUT=benchmarks/results/probe-rtx5070/l2l+LOG="$OUT/logs"+mkdir -p "$LOG"+PY="${PYTHON:-python}"+export PYTHONPATH="$(pwd -W 2>/dev/null || pwd)/src"+H=benchmarks/harness/l2l_probe.py+F1=unsloth/mistral-7b-instruct-v0.3+F2=D:/synth/llama-70b-shape-v32k-f4++"$PY" -c "import soup_cli; print(soup_cli.__file__)" | tee "$LOG/soup_cli_file.txt"+case "$(cat "$LOG/soup_cli_file.txt")" in+ *Soup-l2l*) ;;+ *) echo "REFUSED: soup_cli does not resolve under Soup-l2l"; exit 2 ;;+esac++a_vs_a_exact() {+ "$PY" -c "import json,sys; r=json.load(open(sys.argv[1]))['records'][0]; \+print('yes' if r.get('a_vs_a',{}).get('equal') and r.get('a_vs_a_losses_equal') else 'no')" "$1"+}++run_correctness() { # $1 = f1|f2, $2 = weights, $3 = tier, $4 = k+ "$PY" "$H" --mode correctness --label "${1^^}" --weights "$2" --tier "$3" --k "$4" \+ --out "$OUT/correctness_$1.json" > "$LOG/correctness_$1.log" 2>&1+ if [ "$(a_vs_a_exact "$OUT/correctness_$1.json")" != "yes" ]; then+ "$PY" "$H" --mode correctness --label "${1^^}" --weights "$2" --tier "$3" --k "$4" \+ --deterministic --out "$OUT/correctness_$1_det.json" > "$LOG/correctness_$1_det.log" 2>&1+ fi+}++date -u +"block 1 start %FT%TZ" | tee -a "$LOG/session.txt"+run_correctness f1 "$F1" ram 4+date -u +"block 2 start %FT%TZ" | tee -a "$LOG/session.txt"+run_correctness f2 "$F2" disk 2+date -u +"block 3 start %FT%TZ" | tee -a "$LOG/session.txt"+"$PY" "$H" --mode timing --label F2 --weights "$F2" --tier disk \+ --out "$OUT/timing.json" > "$LOG/timing.log" 2>&1+if [ $? -eq 3 ]; then+ echo "STOPPED: block 3 refused at its start (V1/V3), see $LOG/timing.log" | tee -a "$LOG/session.txt"+ exit 3+fi+date -u +"block 4 start %FT%TZ" | tee -a "$LOG/session.txt"+"$PY" "$H" --mode spill --label F2 --weights "$F2" --tier disk \+ --out "$OUT/spill.json" > "$LOG/spill.log" 2>&1+if [ $? -eq 3 ]; then+ echo "STOPPED: block 4 refused at its start (V1/V3), see $LOG/spill.log" | tee -a "$LOG/session.txt"+ exit 3+fi+date -u +"done %FT%TZ" | tee -a "$LOG/session.txt"+"$PY" benchmarks/harness/l2l_rule.py "$OUT" | tee "$OUT/verdict.md"diff --git a/benchmarks/probe-rtx5070-l2l-step0.md b/benchmarks/probe-rtx5070-l2l-step0.mdnew file mode 100644index 00000000..1de3938e--- /dev/null+++ b/benchmarks/probe-rtx5070-l2l-step0.md@@ -0,0 +1,413 @@+<!--+Working measurement record, published verbatim. The decision rule in §2 was+written and committed BEFORE any run on either fixture, which is the point of+it: a rule written after the numbers are in is not a rule.++Hardware: RTX 5070 Laptop GPU (Blackwell sm_120, 8151 MiB), Intel i9-14900HX,+31.7 GB DDR5-5600, two Samsung PM9B1 NVMe (C: on a CPU root port, D: behind+the chipset). Windows 11 Pro 10.0.26200.+Stack: Python 3.12.10, torch 2.14.0+cu130, transformers 5.17.0, peft 0.20.0,+bitsandbytes 0.50.2.+Soup: branch probe/l2l-step0, cut from origin/main at 6879f323, worktree+C:\Users\user\projects\Soup-l2l. src/ is byte-identical to 6879f323; only+benchmarks/ and one test file change. soup_cli.__file__ is stamped in every+block's JSON.+Harness: benchmarks/harness/l2l_probe.py (CLI), l2l_schedule.py (the+layer-major step and its GA reference), l2l_activations.py (pinned host store ++unbuffered spill), l2l_box.py (box stamps, suspend watch), l2l_rule.py (the+verdict, recomputed from the committed JSON alone), l2l_session.sh (one process+per block). It reuses stream_probe.py's build(), Instruments, gpu_facts and Sink.+-->++# Probe — does layer-major micro-batching (L2L) work on the shipped streamed runtime? (L2L step 0)++**Status: rule committed 2026-10-02 (`7a2127c1`), BEFORE the run. Amended once before any+F1/F2 run (this commit): V2 compares the loads and bytes per step of L2L at k = 1 with the+shipped step instead of their times, and I6 reports the time ratio. Reason: a smoke run on+`HuggingFaceTB/SmolLM2-135M` (not a fixture) showed L2L at k = 1 10-20% FASTER than the+shipped step with identical loads (57/step), identical bytes and bit-identical gradients:+the ±5% time band would have voided G2-G4 for a difference that is not a harness error.+Run 2026-10-07 11:28-13:22Z (§5): G1 and G2 PASS, G3 and G4 NO VERDICT (V4 on L2L arm A+at k = 1); §6.**++---++## 0. The question++Layer-major micro-batching means: load and dequantise each decoder layer ONCE per step, run all+k micro-batches through it, park each micro-batch's boundary activation in host RAM, and walk+the backward in reverse the same way (plan.md § "Giant MoE on this laptop", step 0;+Pudipeddi et al., arXiv 2002.05645, is the prior art). Today's streamed step re-reads the whole+model per micro-batch under gradient accumulation. This probe asks four things:++1. Does L2L give the SAME LoRA gradients as gradient accumulation over the same k micro-batches?+2. Does the read hide under the compute?+3. Does the step pay for itself?+4. Does VRAM stay flat in k?++It measures the mechanism with zero changes to `src/`: the harness drives the shipped+`StreamedDecoderLayer`s, buffer pool, prefetcher and `AsyncDiskSource` in layer-major order.++What it does not claim, stated before the numbers:++- On this 70B shape, L2L is expected to be no faster than the largest plain batch that fits.+ R2 measures that batch (`probe-rtx5070-batch-control.md`).+- L2L's value is that VRAM stays flat in k, which the 671B/1T MoE models need. No number for+ those models is claimed here.++## 1. Fixtures, arms and order++**F2 — timing and correctness.**+- Weights: `D:/synth/llama-70b-shape-v32k-f4`, the synthetic Llama-3.1-70B shape: random values,+ 32k untied head, NF4.+- Store: the default one-root store+ `C:\Users\user\.soup\layer-stream\D___synth__llama-70b-shape-v32k-f4` (NOT the `.refit` copy+ beside it).+- Streaming: disk tier, direct I/O, `read_ahead 2`, 2 layer buffers, seq 512 per micro-batch,+ one drive.+- LoRA: r 8 on q/k/v/o, dropout 0.0, adapter seed 3. Input seed 17. Optimizer `PagedAdamW8bit`,+ lr 1e-4.++**F1 — correctness only.** `unsloth/mistral-7b-instruct-v0.3`, NF4, RAM tier, the same LoRA.++**One L2L step:**+1. Call the shipped prime hook (the embed load + `prefetcher.prime()`).+2. Embed all k micro-batches.+3. Forward: layer 0..L-1, each over all k micro-batches under `no_grad`, storing each layer's+ input.+4. Head: per micro-batch, `norm` + `lm_head` + the model's own `loss_function`, the summed loss+ divided by `num_items_in_batch` = k x 511, then its backward.+5. Backward: layer L-1..0, each over all k micro-batches, one forward+backward per (layer,+ micro-batch) with the wrapper's checkpoint off, so there is no third forward.+6. One `optimizer.step`.++The sequence of layer loads is the same as today's step. A repeated call on a loaded layer+loads nothing (`StreamPrefetcher.advance`).++**Arms.**++| arm | what it removes | judged? |+|---|---|---|+| A | nothing: the shipped reads | yes |+| B | the source read and the H2D copy (`Instruments.nocopy`) | timing-only: computes garbage |+| C | the NF4 dequantisation (`Instruments.nodequant`) | timing-only: computes garbage |+| D | both | timing-only: computes garbage |++- Before every arm the adapters are restored from one snapshot and a fresh optimizer is built,+ so no arm inherits another's garbage.+- Each arm: 1 warm-up + 3 timed steps. A step = forward + backward + `optimizer.step` ++ `zero_grad` + `synchronize`.++**Blocks** (one process each, in this order):++| # | file | content |+|---|---|---|+| 1 | `correctness_f1.json` | F1, k = 4: GA, GA again, L2L |+| 2 | `correctness_f2.json` | F2, k = 2: the same |+| 3 | `timing.json` | F2: `plain` A/B at batch 1 (today's step via `stream_probe.run_steps`); `l2l` A/B at k = 1, 2, 3, 4, 8, 16; `l2l` C/D at k = 4 |+| 4 | `spill.json` | F2, k = 16, arm A: `pinned` (every activation in pinned RAM) against `spill` (layers 0-39 through `D:\soup-l2l-spill`, unbuffered; layers 40-79 pinned, i.e. a k = 8 budget) |++If a correctness block's GA-vs-GA comparison is not exact, it re-runs once in a fresh process+with `--deterministic`, writing `correctness_f<n>_det.json` (§2, G1).++**Order inside blocks 3 and 4:** two rounds.+- In round 0: plain A, plain B; then L2L at k ascending, A before B; then C, D.+- In round 1: plain B, plain A; then L2L at k descending, B before A; then D, C.+- Block 4: round 0 = pinned, spill; round 1 = spill, pinned.++**Control cited, not re-run.** R2's SINGLE rows (`probe-rtx5070-batch-control.md`, rule commit+`5a4df9be`, run by soup-6d) give tok/s at batch 1/2/3 and the largest batch that fits. Its code+is the head of PR #1536 (`2c6ed087`), whose one-drive reader is the PR's per-drive dispatcher+with one drive, so it is not byte-for-byte this branch's reader. This record's own plain+batch-1 arms are the same-session control.++## 2. The decision rule, written before the run++**Values.**+- Arm time = mean of its 3 timed steps.+- The value used = mean of the two rounds.+- T(k) = 512 k / value: tok/s.+- P1 / P1B = the plain batch-1 step, arms A / B.++**Gates — build step 1 (L2L in the streamed trainer, SFT first) only if ALL hold:**++- **G1 (correctness).**+ - On F1 at k = 4 and on F2 at k = 2, every LoRA gradient tensor and every per-micro-batch loss+ of the L2L step is `torch.equal` to the GA reference over the same k micro-batches.+ - The GA reference is k calls of the shipped `model(input_ids, labels, num_items_in_batch=N)`+ with N = k x 511, then `backward`.+ - Valid only if a second GA reference in the same process is also `torch.equal` to the first+ (A-vs-A).+ - LoRA B is made non-zero before the comparison (seed 23, scale 0.02, `bitexact.py`'s+ convention), and every compared gradient must contain a non-zero element.+ - **Fallback:** if A-vs-A is not exact, the block re-runs in a fresh process with+ `torch.use_deterministic_algorithms(True)` and `CUBLAS_WORKSPACE_CONFIG=:4096:8`. If A-vs-A is+ still not exact there (or deterministic mode raises), G1 has NO VERDICT on that fixture, and+ the record gives max |Δ| per tensor.+- **G2 (the read hides).** T_A(16) ≥ 0.8 x T_B(16).+- **G3 (it pays).** T_A(16) ≥ 1.3 x T_A(1).+- **G4 (VRAM flat in k).** Peak allocated, arm A at k = 16, max over rounds, ≤ the same at+ k = 1 + 0.5 GB.++**Validity — when a row fails, the gates that depend on it have NO VERDICT; reported as measured:**++- **V1.** `runtime.source.direct_io` is True in blocks 2-4.+- **V2.** L2L at k = 1 moves exactly the work of the shipped batch-1 step, in arm A and in+ arm B: layer + large loads per step within 0.5 and bytes moved per step within 1 MB of P1 /+ P1B. This shows the harness measures the shipped step's reads; G1 shows its arithmetic.+ G2-G4 depend on it. *(Amended before any F1/F2 run — see the status line.)*+- **V3.** At each block's start:+ - free physical memory ≥ the block's largest pinned activation bytes + 4 GB;+ - before the model is built, `nvidia-smi` reports ≤ 500 MiB in use, and its compute-apps list+ holds no other PID.+ - An arm whose pinned store cannot be allocated, or whose k does not fit the free memory, is+ SKIPPED and recorded. Without k = 16, G2-G4 have no verdict. The harness never silently+ lowers k.+- **V4.** Per (block, arm, k): |round 0 − round 1| / mean ≤ 5%. A gate that uses an arm failing+ V4 has no verdict.+- **V5.**+ - The box is on AC for every 2-s sample of every arm.+ - There is no gap > 30 s between samples (wall clock).+ - Otherwise the arm is void, and a gate that uses it has no verdict.+- **V6.**+ - No other process reads 1 GB or more during an arm (per-process read bytes; the+ foreign-reader convention of R2's rule — R2's attempt 1 lost an arm to SearchIndexer.exe+ reading 4.94 GB).+ - Otherwise the arm is void, and a gate that uses it has no verdict.++No row compares an absolute time with an earlier record: R1's validity row fired three times on+C:'s own 3.5-4.7 GB/s spread. Every gate here is relative, within one session.++**Informational (no gate):**++- **I1.** T_A(2) and T_A(3) against R2's SINGLE batch 2/3 tok/s and its largest batch that fits.+ Cited, with the code caveat of §1.+- **I2.** Dequant share inside L2L at k = 4: (B_4 − D_4) / B_4; and C_4 against A_4.+- **I3.** L2L's own overhead: B_16 / (16 x P1B).+- **I4.** Spill: T_A(spill, 16) / T_A(pinned, 16) in block 4. ≥ 0.95 reads "spill is free at+ this ratio". Stamps: unbuffered open, bytes written and read per step = 40 x 16 x 8 MiB.+- **I5.** Per k: step time, tok/s, peak allocated/reserved, loads/step, bytes/step, implied+ GB/s, activation bytes (pinned/spilled), time blocked on the store.+- **I6.** L2L at k = 1 against the shipped step, time ratio per arm (A, B). L2L's backward+ runs each layer once without the checkpoint wrapper, so a ratio below 1 is expected.++**Predictions, written before the run** (§21 of `probe-rtx5070-what-bounds-streaming.md`:+B(S) = 1.24 s + 0.0101 s x S; read ≈ 17.1 s per step):++- A_k ≈ max(17.1, k x 6.43) s, i.e. ≈ 30 / 57 / 76 / 78 / 79 / 79 tok/s at k = 1/2/3/4/8/16.+- B_k ≈ k x 6.43 s (+≤3%).+- Peak allocated ≈ 4.4 GB at k = 1, +≤0.3 GB at k = 16.+- Dequant ≈ 23% of B_4.+- Spill ratio ≥ 0.97.+- G1: exact on both fixtures.+- R2's batch 3, if it fits, ≈ 88 tok/s — faster than L2L at k = 3, because a batch pays the+ per-visit dequantisation once and L2L pays it per micro-batch.++**Outcomes:**++| result | meaning | next |+|---|---|---|+| G1-G4 pass | the mechanism works on the shipped runtime, bit-exact, VRAM flat | step 1, SFT first. I2 decides whether step 1 caches the dense layer per visit (+1.7 GB VRAM on this shape); I4 whether the spill design is viable |+| G1 fails, A-vs-A exact | L2L changes the arithmetic | step 1 blocked until the cause is found |+| G1 no verdict | instrument nondeterminism | step 1's gate must run in deterministic mode; G2-G4 still read |+| G2 fails | reads not overlapped with compute | investigate the reader/prefetch interplay first |+| G3 fails | contradicts the arithmetic | investigate before anything |+| G4 fails | the harness keeps activations on the GPU | harness bug: fix, re-run; no verdict on the mechanism |++## 3. What this does NOT measure++- **Any giant-MoE number.** The 70B fixture has 80 dense layers; the boundary-activation+ arithmetic for DeepSeek-V3 / Kimi K2 is in plan.md, not measured here.+- **Training quality.** F2 is random-valued; G1 is arithmetic identity, not convergence.+- **A dense-weight cache per visit.** I2 estimates its worth; nothing here builds it.+- **Two drives.** PR #1536 is not on this branch.+- **Dropout > 0.** A real config's `lora.dropout` 0.05 needs a per-micro-batch RNG state under+ L2L. That is step 1's problem.++## 4. Box state and the commands++Before the run:+- The laptop is on AC with the lid open.+- Every live Claude session has been asked by message for a hold (no CUDA, no test suite, no+ large copy on C: or D:), and the hold is listed in `.claude/SESSIONS.md`.+- R2 and soup-56's sustained run have finished.++```bash+cd /c/Users/user/projects/Soup-l2l+bash benchmarks/harness/l2l_session.sh # blocks 1-4, one process each, ~2 h+python benchmarks/harness/l2l_rule.py benchmarks/results/probe-rtx5070/l2l # §5/§6 tables+```++A timing or spill block whose V1 or V3 row already fails at its start exits 3 and the+session stops there: its gates could only be "no verdict", and running it anyway is the+owner's call (`--allow-invalid`). A failed page-lock releases the blocks it left pinned+(the shipped #901 recovery) before the arm is recorded as skipped.++## 5. Results++### 5.1 The run — 2026-10-07, 11:28:29-13:21:58Z++Run from `23d567c6` (clean tree; `src/` byte-identical to `6879f323`), with the base interpreter,+`PYTHONPATH=Soup-l2l/src` and `HF_HUB_OFFLINE=1`; `soup_cli.__file__` resolved under+`Soup-l2l\src` (`logs/soup_cli_file.txt`, and every block's `meta`). Session measure-28, for+soup-28, inside the owner's machine window, right after R2 attempt 2 (10:15-10:46Z). The four blocks+ran one process each, as separate commands in `l2l_session.sh`'s order, including its+deterministic re-run rule. Start and end times are in `logs/session.txt`:++| block | what | UTC |+|---|---|---|+| 1 | correctness F1, k = 4 | 11:28:29-11:28:56 |+| 1 det | the same, `--deterministic` (A-vs-A not exact) | 11:29:20-11:29:49 |+| 2 | correctness F2, k = 2 | 11:30:01-11:31:51 |+| 2 det | the same, `--deterministic` (A-vs-A not exact) | 11:31:58-11:34:03 |+| 3 | timing F2 | 11:34:24-12:50:58 |+| 4 | spill F2 | 12:51:13-13:21:58 |++**Box.** AC online for every sample of every arm; no arm is V5-void. Before the run the owner+stopped Windows Search (Stopped at 11:22Z) and closed ChatGPT, whose on-device-model process had+sat in `nvidia-smi`'s compute-apps list, which V3 refuses. `wsl --shutdown` ran at 11:27Z. Every+block started with 0 MiB in use and no other compute PID. An optional timing `--dry-run` at 11:28Z+(output in a scratch folder, no arm) met V3 with 14.913 GB free after the build against 14.737 GB+needed, and allocated the k = 16 store. Each block's own V3 then read 13.15-15.73 GB free; the+timing and spill blocks read 15.649 and 15.726 GB against 14.737 needed.++**Windows Search came back during block 3.** `SearchIndexer.exe` was restarted at 11:40:34Z. The+service is trigger-started, so a `Stop-Service` lasts only until the next trigger, and no elevated+shell was available to stop it again. By 12:14Z it had read 8.88 GB (8.27 GiB), and nothing more+up to 13:19Z. 8.52 GB of that fell inside three round-0 timing arms, which V6 voids (V6 lists+readers of 1 GB or more in an arm):++| arm | SearchIndexer.exe read in the arm |+|---|---|+| l2l A k = 3, round 0 | 1.85 GB |+| l2l B k = 3, round 0 | 5.56 GB |+| l2l A k = 4, round 0 | 1.12 GB |++No other process read 1 GB or more in any arm of blocks 1-4. No gate reads k = 3 or k = 4; I1 and+I2 do, and the rule's output below says how they lose those rounds.++### 5.2 Correctness (blocks 1-2)++| run | fixture, k | A-vs-A (GA twice) | L2L against GA | per-micro-batch losses |+|---|---|---|---|---|+| block 1, default | F1 Mistral-7B NF4, RAM tier, k = 4 | **not exact**: 250 of 256 tensors differ, max abs diff 0.2133 | 250 of 256 differ, max abs diff 0.2639 | equal in both comparisons |+| block 1, deterministic | the same | exact, 256 of 256 | **exact**, 256 of 256, max abs diff 0 | equal |+| block 2, default | F2 70B shape NF4, disk tier, k = 2 | **not exact**: 634 of 640 differ, max abs diff 6.292e-03 | 634 of 640 differ, max abs diff 6.616e-03 | equal in both comparisons |+| block 2, deterministic | the same | exact, 640 of 640 | **exact**, 640 of 640, max abs diff 0 | equal |++Losses, identical for GA and L2L in all four runs: F1 3.257613 / 3.105495 / 3.219895 / 3.134643;+F2 6.035345 / 5.996969. In the default mode the GA reference does not reproduce itself, and L2L+differs from it by the same order of magnitude. Under `torch.use_deterministic_algorithms(True)`+with `CUBLAS_WORKSPACE_CONFIG=:4096:8` all three agree bit for bit, which is G1's pre-registered+fallback.++### 5.3 Timing (block 3)++Each arm: 1 warm-up and 3 timed steps; the value is the mean of the two rounds. Every arm loaded+157 + 2 layers and moved 70,378,258,732 bytes per step.++| arm | k | round 0 (s) | round 1 (s) | value (s) | tok/s | round spread | peak alloc (GB) | validity |+|---|---|---|---|---|---|---|---|---|+| plain A | 1 | 17.373 | 17.419 | 17.396 | 29.4 | 0.3% | 4.509 | ok |+| plain B | 1 | 6.397 | 6.436 | 6.417 | 79.8 | 0.6% | 4.509 | ok |+| l2l A | 1 | 17.166 | 19.765 | 18.465 | 27.7 | **14.1%** | 4.018 | **V4 fails** |+| l2l B | 1 | 6.949 | 7.002 | 6.975 | 73.4 | 0.8% | 4.018 | ok |+| l2l A | 2 | 17.907 | 18.114 | 18.010 | 56.9 | 1.1% | 4.028 | ok |+| l2l B | 2 | 13.870 | 13.930 | 13.900 | 73.7 | 0.4% | 4.028 | ok |+| l2l A | 3 | 22.688 | 22.559 | 22.624 | 67.9 | 0.6% | 4.036 | **V6, round 0** |+| l2l B | 3 | 20.895 | 20.906 | 20.901 | 73.5 | 0.1% | 4.036 | **V6, round 0** |+| l2l A | 4 | 28.051 | 28.078 | 28.064 | 73.0 | 0.1% | 4.044 | **V6, round 0** |+| l2l B | 4 | 27.748 | 27.836 | 27.792 | 73.7 | 0.3% | 4.044 | ok |+| l2l A | 8 | 55.819 | 55.966 | 55.893 | 73.3 | 0.3% | 4.078 | ok |+| l2l B | 8 | 55.604 | 55.696 | 55.650 | 73.6 | 0.2% | 4.078 | ok |+| l2l A | 16 | 111.752 | 111.839 | 111.796 | 73.3 | 0.1% | 4.145 | ok |+| l2l B | 16 | 111.654 | 111.434 | 111.544 | 73.4 | 0.2% | 4.145 | ok |+| l2l C | 4 | 23.881 | 23.848 | 23.864 | 85.8 | 0.1% | 3.443 | ok |+| l2l D | 4 | 22.064 | 21.846 | 21.955 | 93.3 | 1.0% | 3.443 | ok |++**The arm that fails V4.** l2l A at k = 1 read 17.128 / 17.196 / 17.173 s in round 0 and+17.157 / 17.150 / **24.989** s in round 1: two steps as in round 0, and one 7.8 s longer. Its+implied host-to-device rate is 4.10 GB/s in round 0 and 3.56 GB/s in round 1. It is the last A arm+of round 1, after about 70 minutes of reading C:. §1's arm order puts the k = 1 arms there so that+a drive throttle would show up as a V4 "no verdict" rather than a bias, and that is the row that+fired. The files do not establish the cause.++### 5.4 Spill (block 4)++| arm | round 0 (s) | round 1 (s) | value (s) | tok/s | peak alloc (GB) |+|---|---|---|---|---|---|+| pinned, k = 16 | 111.466 | 112.245 | 111.856 | 73.2 | 4.145 |+| spill (layers 0-39 through `D:\soup-l2l-spill`, unbuffered), k = 16 | 111.932 | 112.150 | 112.041 | 73.1 | 4.145 |++### 5.5 The rule's output++`python benchmarks/harness/l2l_rule.py benchmarks/results/probe-rtx5070/l2l`, committed as+`verdict.md` with the raw files, and recomputed identically from the committed files:++| gate | status | detail |+|---|---|---|+| G1 | pass | F1: 256 tensors + losses equal (deterministic); F2: 640 tensors + losses equal (deterministic) |+| G2 | pass | T_A(16) 73.3 vs 0.8 x T_B(16) 58.8 tok/s |+| G3 | no verdict | ('l2l', 'A', 1): V4: round spread 14.1% > 5% |+| G4 | no verdict | ('l2l', 'A', 1): V4: round spread 14.1% > 5% |++| row | ok | detail |+|---|---|---|+| V1 | True | direct_io=True |+| V2 | True | A: loads 159.0 vs 159.0, bytes 70.378 vs 70.378 GB; B: loads 159.0 vs 159.0, bytes 70.378 vs 70.378 GB |+| V3 | True | free 15.649 GB, commit available 26.480 GB, need 10.737 GB + 4.0 GB margin; 0 MiB before the build; no foreign GPU PID |++| arm | valid | step s | tok/s | peak GB | why |+|---|---|---|---|---|---|+| plain/A/k1 | True | 17.396 | 29.4 | 4.509 | |+| plain/B/k1 | True | 6.417 | 79.8 | 4.509 | |+| l2l/A/k1 | False | 18.465 | 27.7 | 4.018 | V4: round spread 14.1% > 5% |+| l2l/B/k1 | True | 6.975 | 73.4 | 4.018 | |+| l2l/A/k16 | True | 111.796 | 73.3 | 4.145 | |+| l2l/B/k16 | True | 111.544 | 73.4 | 4.145 | |+| l2l/A/k4 | False | 28.064 | 73.0 | 4.044 | V6: round 0 foreign reader SearchIndexer.exe 1.12 GB |+| l2l/B/k4 | True | 27.792 | 73.7 | 4.044 | |+| l2l/C/k4 | True | 23.864 | 85.8 | 3.443 | |+| l2l/D/k4 | True | 21.955 | 93.3 | 3.443 | |+| l2l/A/k2 | True | 18.010 | 56.9 | 4.028 | |+| l2l/A/k3 | False | 22.624 | 67.9 | 4.036 | V6: round 0 foreign reader SearchIndexer.exe 1.85 GB |++I2: dequant_share 0.210, c4_over_a4 None (A_4 is V6-void). I3: overhead 1.086. I4: ratio 0.998,+free True, direct True. I6 (B): 1.087.++**Verdict line: NO VERDICT: G3, G4.**++(The V3 row is the rule's dictionary, written out; its values are unchanged.)++## 6. Verdict++By the rule of §2 as committed (`7a2127c1`, amended before any run in `ec95e48`), applied by+`l2l_rule.py` to the committed JSON:++- **G1 (correctness): PASS**, through its pre-registered fallback. In the default mode the GA+ reference was not exact against itself on either fixture (§5.2), so each block re-ran in a fresh+ process with deterministic algorithms. There A-vs-A is exact, and the L2L step's LoRA gradients+ (256 tensors on F1 at k = 4, 640 on F2 at k = 2) and per-micro-batch losses are `torch.equal`+ to GA.+- **G2 (the read hides): PASS.** T_A(16) = 73.3 tok/s against 0.8 x T_B(16) = 58.8 tok/s.+- **G3 (it pays): NO VERDICT.** It reads T_A(1), and l2l A at k = 1 fails V4 (round spread 14.1%,+ §5.3).+- **G4 (VRAM flat in k): NO VERDICT**, by the same row on the same arm.+- **Validity:** V1, V2 and V3 hold. V4 fails on l2l A k = 1 only. V5 holds for every arm. V6 voids+ round 0 of l2l A k = 3, B k = 3 and A k = 4, arms no gate reads.++The outcome table of §2 has no row for G1 and G2 passing with G3 and G4 undecided, so this record+does not choose a next step; that is the owner's call. The numbers G3 and G4 would have read are+recorded above and are **not** judged here: T_A(16) / T_A(1) = 73.3 / 27.7 tok/s, where round 0+alone gives 29.8; peak allocated 4.145 GB at k = 16 against 4.018 GB at k = 1.++**I1 (the R2 control), cited from R2's own §6** (`probe-rtx5070-batch-control.md` on+`probe/batch-control`, attempt 2, commit `91b070c4`; R2 ran the PR #1536 head `2c6ed087` with its+per-drive dispatcher on one drive, which is not byte-for-byte this branch's reader). SINGLE+batch 2 is **NEAR-FREE** (`ē` 1.027, no label; 57.13 / 57.60 tok/s). SINGLE batch 3 is **PARTIAL**+(`ē` 0.899, no label, DISAGREES AT b3; 75.21 / 75.54 tok/s). The largest batch that fits is 3+(6.312 GB allocated). Against them: T_A(2) = 56.9 tok/s, and T_A(3) = 67.9 tok/s, whose round 0 is+V6-void (round 1 alone: 68.1).++Nothing in §2 was edited after the run. The records are local, on `probe/l2l-step0`, and not+pushed.diff --git a/benchmarks/results/probe-rtx5070/l2l/correctness_f1.json b/benchmarks/results/probe-rtx5070/l2l/correctness_f1.jsonnew file mode 100644index 00000000..15d19256--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/correctness_f1.json@@ -0,0 +1,663 @@+{+ "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": false,+ "dry_run": false,+ "allow_invalid": false,+ "out": "benchmarks/results/probe-rtx5070/l2l/correctness_f1.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.00886139995418489,+ "build_seconds": 4.359921400086023,+ "chunk_bytes": 4194304,+ "v3": {+ "free_gb": 13.228806144,+ "commit_avail_gb": 24.850128896,+ "need_gb": 0.536870912,+ "margin_gb": 4.0,+ "gpu_used_before_build_mib": 0,+ "gpu_pids": [+ 7072+ ],+ "foreign_gpu_pids": [],+ "ram_ok": true,+ "gpu_ok": true,+ "ok": true+ },+ "box": {+ "unix": 1791372523.0465345,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 13.212893184,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 24.850817024,+ "ac": true,+ "gpu_pids": [+ 7072+ ],+ "gpu_mem_used_mib": 624,+ "python_processes": 6+ },+ "started": "2026-10-07T16:28:43"+ },+ "records": [+ {+ "kind": "correctness",+ "fixture": "F1",+ "k": 4,+ "deterministic": false,+ "a_vs_a": {+ "tensors": 256,+ "unequal": [+ "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_B.default.weight"+ ],+ "max_abs": 0.21329021453857422,+ "worst": [+ {+ "name": "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.21329021453857422+ },+ {+ "name": "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.08544445037841797+ },+ {+ "name": "base_model.model.model.layers.4.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.053969889879226685+ },+ {+ "name": "base_model.model.model.layers.7.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.04549741744995117+ },+ {+ "name": "base_model.model.model.layers.5.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.04127192497253418+ }+ ],+ "all_zero": [],+ "equal": false+ },+ "a_vs_a_losses_equal": true,+ "l2l": {+ "tensors": 256,+ "unequal": [+ "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_B.default.weight"+ ],+ "max_abs": 0.26385498046875,+ "worst": [+ {+ "name": "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.26385498046875+ },+ {+ "name": "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.1221320629119873+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.v_proj.lora_B.default.weight",+ "max_abs": 0.06376159191131592+ },+ {+ "name": "base_model.model.model.layers.6.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.05380821228027344+ },+ {+ "name": "base_model.model.model.layers.8.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.051032185554504395+ }+ ],+ "all_zero": [],+ "equal": false+ },+ "l2l_losses_equal": true,+ "losses_ga": [+ 3.257612705230713,+ 3.1054952144622803,+ 3.2198948860168457,+ 3.1346428394317627+ ],+ "losses_l2l": [+ 3.257612705230713,+ 3.1054952144622803,+ 3.2198948860168457,+ 3.1346428394317627+ ]+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/correctness_f1_det.json b/benchmarks/results/probe-rtx5070/l2l/correctness_f1_det.jsonnew file mode 100644index 00000000..fe4a44a0--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/correctness_f1_det.json@@ -0,0 +1,119 @@+{+ "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+ ]+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/correctness_f2.json b/benchmarks/results/probe-rtx5070/l2l/correctness_f2.jsonnew file mode 100644index 00000000..047792e0--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/correctness_f2.json@@ -0,0 +1,1427 @@+{+ "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": "D:/synth/llama-70b-shape-v32k-f4",+ "shards": null,+ "quant": "nf4",+ "tier": "disk",+ "buffers": 2,+ "read_ahead": 2,+ "seq": 512,+ "lora_r": 8,+ "lora_targets": "q_proj,k_proj,v_proj,o_proj",+ "seed": 3,+ "input_seed": 17,+ "k": 2,+ "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": false,+ "dry_run": false,+ "allow_invalid": false,+ "out": "benchmarks/results/probe-rtx5070/l2l/correctness_f2.json",+ "label": "F2",+ "lazy_shard_handles": false,+ "control_sync_source": false,+ "no_pin": false,+ "weights_dir": "D:\\synth\\llama-70b-shape-v32k-f4",+ "shard_dir": "C:\\Users\\user\\.soup\\layer-stream\\D___synth__llama-70b-shape-v32k-f4",+ "dtype": "bfloat16",+ "arch": "llama",+ "n_layers": 80,+ "hidden": 8192,+ "pinned": true,+ "source_class": "AsyncDiskSource",+ "direct_io": true,+ "store_gb": 1.956601912,+ "shard_seconds": 0.002210299950093031,+ "build_seconds": 2.012029099976644,+ "chunk_bytes": 8388608,+ "v3": {+ "free_gb": 15.41421056,+ "commit_avail_gb": 26.362851328,+ "need_gb": 1.34217728,+ "margin_gb": 4.0,+ "gpu_used_before_build_mib": 0,+ "gpu_pids": [+ 25536+ ],+ "foreign_gpu_pids": [],+ "ram_ok": true,+ "gpu_ok": true,+ "ok": true+ },+ "box": {+ "unix": 1791372612.4853575,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 15.401877504,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 26.360467456,+ "ac": true,+ "gpu_pids": [+ 25536+ ],+ "gpu_mem_used_mib": 1608,+ "python_processes": 6+ },+ "started": "2026-10-07T16:30:12"+ },+ "records": [+ {+ "kind": "correctness",+ "fixture": "F2",+ "k": 2,+ "deterministic": false,+ "a_vs_a": {+ "tensors": 640,+ "unequal": [+ "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.79.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.79.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_B.default.weight"+ ],+ "max_abs": 0.006291501224040985,+ "worst": [+ {+ "name": "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "max_abs": 0.006291501224040985+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "max_abs": 0.006132146343588829+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "max_abs": 0.005238545127213001+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "max_abs": 0.003776094876229763+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.003556177020072937+ }+ ],+ "all_zero": [],+ "equal": false+ },+ "a_vs_a_losses_equal": true,+ "l2l": {+ "tensors": 640,+ "unequal": [+ "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.0.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.1.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.10.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.11.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.12.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.13.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.14.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.15.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.16.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.17.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.18.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.19.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.2.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.20.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.21.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.22.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.23.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.24.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.25.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.26.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.27.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.28.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.29.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.3.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.30.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.31.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.31.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.32.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.32.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.33.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.33.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.34.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.34.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.35.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.35.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.36.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.36.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.37.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.37.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.38.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.38.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.39.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.39.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.4.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.40.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.40.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.41.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.41.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.42.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.42.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.43.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.43.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.44.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.44.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.45.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.45.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.46.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.46.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.47.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.47.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.48.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.48.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.49.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.49.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.5.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.50.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.50.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.51.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.51.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.52.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.52.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.53.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.53.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.54.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.54.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.55.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.55.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.56.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.56.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.57.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.57.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.58.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.58.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.59.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.59.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.6.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.60.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.60.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.61.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.61.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.62.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.62.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.63.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.63.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.64.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.64.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.65.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.65.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.66.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.66.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.67.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.67.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.68.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.68.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.69.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.69.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.7.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.70.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.70.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.71.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.71.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.72.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.72.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.73.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.73.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.74.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.74.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.75.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.75.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.76.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.76.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.77.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.77.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.78.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.78.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.79.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.79.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.8.self_attn.v_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.k_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.o_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.q_proj.lora_B.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_A.default.weight",+ "base_model.model.model.layers.9.self_attn.v_proj.lora_B.default.weight"+ ],+ "max_abs": 0.006615743041038513,+ "worst": [+ {+ "name": "base_model.model.model.layers.0.self_attn.q_proj.lora_A.default.weight",+ "max_abs": 0.006615743041038513+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.k_proj.lora_A.default.weight",+ "max_abs": 0.006162511184811592+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.k_proj.lora_B.default.weight",+ "max_abs": 0.005900138057768345+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.o_proj.lora_A.default.weight",+ "max_abs": 0.0037894276902079582+ },+ {+ "name": "base_model.model.model.layers.0.self_attn.v_proj.lora_A.default.weight",+ "max_abs": 0.0033576153218746185+ }+ ],+ "all_zero": [],+ "equal": false+ },+ "l2l_losses_equal": true,+ "losses_ga": [+ 6.035345077514648,+ 5.996968746185303+ ],+ "losses_l2l": [+ 6.035345077514648,+ 5.996968746185303+ ]+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/correctness_f2_det.json b/benchmarks/results/probe-rtx5070/l2l/correctness_f2_det.jsonnew file mode 100644index 00000000..a9c95fe9--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/correctness_f2_det.json@@ -0,0 +1,115 @@+{+ "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": "D:/synth/llama-70b-shape-v32k-f4",+ "shards": null,+ "quant": "nf4",+ "tier": "disk",+ "buffers": 2,+ "read_ahead": 2,+ "seq": 512,+ "lora_r": 8,+ "lora_targets": "q_proj,k_proj,v_proj,o_proj",+ "seed": 3,+ "input_seed": 17,+ "k": 2,+ "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_f2_det.json",+ "label": "F2",+ "lazy_shard_handles": false,+ "control_sync_source": false,+ "no_pin": false,+ "weights_dir": "D:\\synth\\llama-70b-shape-v32k-f4",+ "shard_dir": "C:\\Users\\user\\.soup\\layer-stream\\D___synth__llama-70b-shape-v32k-f4",+ "dtype": "bfloat16",+ "arch": "llama",+ "n_layers": 80,+ "hidden": 8192,+ "pinned": true,+ "source_class": "AsyncDiskSource",+ "direct_io": true,+ "store_gb": 1.956601912,+ "shard_seconds": 0.0023195999674499035,+ "build_seconds": 9.69501509994734,+ "chunk_bytes": 8388608,+ "v3": {+ "free_gb": 15.31465728,+ "commit_avail_gb": 26.407010304,+ "need_gb": 1.34217728,+ "margin_gb": 4.0,+ "gpu_used_before_build_mib": 0,+ "gpu_pids": [+ 9444+ ],+ "foreign_gpu_pids": [],+ "ram_ok": true,+ "gpu_ok": true,+ "ok": true+ },+ "box": {+ "unix": 1791372743.046226,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 15.315591168,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 26.406375424,+ "ac": true,+ "gpu_pids": [+ 9444+ ],+ "gpu_mem_used_mib": 1636,+ "python_processes": 6+ },+ "started": "2026-10-07T16:32:23"+ },+ "records": [+ {+ "kind": "correctness",+ "fixture": "F2",+ "k": 2,+ "deterministic": true,+ "a_vs_a": {+ "tensors": 640,+ "unequal": [],+ "max_abs": 0.0,+ "worst": [],+ "all_zero": [],+ "equal": true+ },+ "a_vs_a_losses_equal": true,+ "l2l": {+ "tensors": 640,+ "unequal": [],+ "max_abs": 0.0,+ "worst": [],+ "all_zero": [],+ "equal": true+ },+ "l2l_losses_equal": true,+ "losses_ga": [+ 6.035345077514648,+ 5.996968746185303+ ],+ "losses_l2l": [+ 6.035345077514648,+ 5.996968746185303+ ]+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1.log b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1.lognew file mode 100644index 00000000..c307249e--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1.log@@ -0,0 +1,15 @@+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 16:28:37.850000 7072 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode correctness+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+shard_dir C:\Users\user\.soup\layer-stream\unsloth__mistral-7b-instruct-v0.3+direct_io None+v3 {'free_gb': 13.228806144, 'commit_avail_gb': 24.850128896, 'need_gb': 0.536870912, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [7072], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True}+correctness F1 k=4: A-vs-A False, L2L False (max |d| 2.639e-01), losses True+wrote benchmarks/results/probe-rtx5070/l2l/correctness_f1.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1_det.log b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1_det.lognew file mode 100644index 00000000..13325533--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f1_det.log@@ -0,0 +1,15 @@+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 16:29:31.201000 33748 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode correctness+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+shard_dir C:\Users\user\.soup\layer-stream\unsloth__mistral-7b-instruct-v0.3+direct_io None+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}+correctness F1 k=4: A-vs-A True, L2L True (max |d| 0.000e+00), losses True+wrote benchmarks/results/probe-rtx5070/l2l/correctness_f1_det.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2.log b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2.lognew file mode 100644index 00000000..8d611e1b--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2.log@@ -0,0 +1,17 @@+[transformers] Model config: bos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128000. This may result in unexpected behavior.+[transformers] Model config: eos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128001. This may result in unexpected behavior.+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 16:30:09.529000 25536 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode correctness+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+shard_dir C:\Users\user\.soup\layer-stream\D___synth__llama-70b-shape-v32k-f4+direct_io True+v3 {'free_gb': 15.41421056, 'commit_avail_gb': 26.362851328, 'need_gb': 1.34217728, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [25536], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True}+correctness F2 k=2: A-vs-A False, L2L False (max |d| 6.616e-03), losses True+wrote benchmarks/results/probe-rtx5070/l2l/correctness_f2.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2_det.log b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2_det.lognew file mode 100644index 00000000..7d2e1ea0--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/correctness_f2_det.log@@ -0,0 +1,17 @@+[transformers] Model config: bos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128000. This may result in unexpected behavior.+[transformers] Model config: eos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128001. This may result in unexpected behavior.+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 16:32:12.351000 9444 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode correctness+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+shard_dir C:\Users\user\.soup\layer-stream\D___synth__llama-70b-shape-v32k-f4+direct_io True+v3 {'free_gb': 15.31465728, 'commit_avail_gb': 26.407010304, 'need_gb': 1.34217728, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [9444], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True}+correctness F2 k=2: A-vs-A True, L2L True (max |d| 0.000e+00), losses True+wrote benchmarks/results/probe-rtx5070/l2l/correctness_f2_det.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/session.txt b/benchmarks/results/probe-rtx5070/l2l/logs/session.txtnew file mode 100644index 00000000..0613a3a9--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/session.txt@@ -0,0 +1,18 @@+block 1 start 2026-10-07T11:28:29Z+block1 exit=0+block 1 end 2026-10-07T11:28:56Z+block 1 det start 2026-10-07T11:29:20Z+block1det exit=0+block 1 det end 2026-10-07T11:29:49Z+block 2 start 2026-10-07T11:30:01Z+block2 exit=0+block 2 end 2026-10-07T11:31:51Z+block 2 det start 2026-10-07T11:31:58Z+block2det exit=0+block 2 det end 2026-10-07T11:34:03Z+block 3 start 2026-10-07T11:34:24Z+block3 exit=0+block 3 end 2026-10-07T12:50:58Z+block 4 start 2026-10-07T12:51:13Z+block4 exit=0+done 2026-10-07T13:21:58Zdiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/soup_cli_file.txt b/benchmarks/results/probe-rtx5070/l2l/logs/soup_cli_file.txtnew file mode 100644index 00000000..8de9fa11--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/soup_cli_file.txt@@ -0,0 +1 @@+C:\Users\user\projects\Soup-l2l\src\soup_cli\__init__.pydiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/spill.log b/benchmarks/results/probe-rtx5070/l2l/logs/spill.lognew file mode 100644index 00000000..5c704b37--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/spill.log@@ -0,0 +1,20 @@+[transformers] Model config: bos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128000. This may result in unexpected behavior.+[transformers] Model config: eos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128001. This may result in unexpected behavior.+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 17:51:24.196000 45176 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode spill+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+shard_dir C:\Users\user\.soup\layer-stream\D___synth__llama-70b-shape-v32k-f4+direct_io True+v3 {'free_gb': 15.725735936, 'commit_avail_gb': 26.234904576, 'need_gb': 10.73741824, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [45176], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True}+spill_pinned_k16_r0 73.5 tok/s step 111.466 s+spill_spill_k16_r0 73.2 tok/s step 111.932 s+spill_spill_k16_r1 73.0 tok/s step 112.150 s+spill_pinned_k16_r1 73.0 tok/s step 112.245 s+wrote benchmarks/results/probe-rtx5070/l2l/spill.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/logs/timing.log b/benchmarks/results/probe-rtx5070/l2l/logs/timing.lognew file mode 100644index 00000000..90f7c98d--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/logs/timing.log@@ -0,0 +1,48 @@+[transformers] Model config: bos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128000. This may result in unexpected behavior.+[transformers] Model config: eos_token_id must be `None` or an integer within the vocabulary (between 0 and 32767), got 128001. This may result in unexpected behavior.+[transformers] `torch_dtype` is deprecated! Use `dtype` instead!+W1007 16:34:32.362000 13448 site-packages\torch\utils\flop_counter.py:113] triton not found; flop counting will not work for triton kernels+RUN: L2L step-0 probe, mode timing+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+shard_dir C:\Users\user\.soup\layer-stream\D___synth__llama-70b-shape-v32k-f4+direct_io True+v3 {'free_gb': 15.648956416, 'commit_avail_gb': 26.47990272, 'need_gb': 10.73741824, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [13448], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True}+plain_A_k1_r0 29.5 tok/s step 17.373 s peak 4.509 GB void False+plain_B_k1_r0 80.0 tok/s step 6.397 s peak 4.509 GB void False+l2l_A_k1_r0 29.8 tok/s step 17.166 s peak 4.018 GB void False+l2l_B_k1_r0 73.7 tok/s step 6.949 s peak 4.018 GB void False+l2l_A_k2_r0 57.2 tok/s step 17.907 s peak 4.028 GB void False+l2l_B_k2_r0 73.8 tok/s step 13.870 s peak 4.028 GB void False+l2l_A_k3_r0 67.7 tok/s step 22.688 s peak 4.036 GB void False+l2l_B_k3_r0 73.5 tok/s step 20.895 s peak 4.036 GB void False+l2l_A_k4_r0 73.0 tok/s step 28.051 s peak 4.044 GB void False+l2l_B_k4_r0 73.8 tok/s step 27.748 s peak 4.044 GB void False+l2l_A_k8_r0 73.4 tok/s step 55.819 s peak 4.078 GB void False+l2l_B_k8_r0 73.7 tok/s step 55.604 s peak 4.078 GB void False+l2l_A_k16_r0 73.3 tok/s step 111.752 s peak 4.145 GB void False+l2l_B_k16_r0 73.4 tok/s step 111.654 s peak 4.145 GB void False+l2l_C_k4_r0 85.8 tok/s step 23.881 s peak 3.443 GB void False+l2l_D_k4_r0 92.8 tok/s step 22.064 s peak 3.443 GB void False+plain_B_k1_r1 79.5 tok/s step 6.436 s peak 4.509 GB void False+plain_A_k1_r1 29.4 tok/s step 17.419 s peak 4.509 GB void False+l2l_B_k16_r1 73.5 tok/s step 111.434 s peak 4.145 GB void False+l2l_A_k16_r1 73.2 tok/s step 111.839 s peak 4.145 GB void False+l2l_B_k8_r1 73.5 tok/s step 55.696 s peak 4.078 GB void False+l2l_A_k8_r1 73.2 tok/s step 55.966 s peak 4.078 GB void False+l2l_B_k4_r1 73.6 tok/s step 27.836 s peak 4.044 GB void False+l2l_A_k4_r1 72.9 tok/s step 28.078 s peak 4.044 GB void False+l2l_B_k3_r1 73.5 tok/s step 20.906 s peak 4.036 GB void False+l2l_A_k3_r1 68.1 tok/s step 22.559 s peak 4.036 GB void False+l2l_B_k2_r1 73.5 tok/s step 13.930 s peak 4.028 GB void False+l2l_A_k2_r1 56.5 tok/s step 18.114 s peak 4.028 GB void False+l2l_B_k1_r1 73.1 tok/s step 7.002 s peak 4.018 GB void False+l2l_A_k1_r1 25.9 tok/s step 19.765 s peak 4.018 GB void False+l2l_D_k4_r1 93.7 tok/s step 21.846 s peak 3.443 GB void False+l2l_C_k4_r1 85.9 tok/s step 23.848 s peak 3.443 GB void False+wrote benchmarks/results/probe-rtx5070/l2l/timing.jsondiff --git a/benchmarks/results/probe-rtx5070/l2l/spill.json b/benchmarks/results/probe-rtx5070/l2l/spill.jsonnew file mode 100644index 00000000..6c2a9a33--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/spill.json@@ -0,0 +1,521 @@+{+ "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": "spill",+ "weights": "D:/synth/llama-70b-shape-v32k-f4",+ "shards": null,+ "quant": "nf4",+ "tier": "disk",+ "buffers": 2,+ "read_ahead": 2,+ "seq": 512,+ "lora_r": 8,+ "lora_targets": "q_proj,k_proj,v_proj,o_proj",+ "seed": 3,+ "input_seed": 17,+ "k": 2,+ "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": false,+ "dry_run": false,+ "allow_invalid": false,+ "out": "benchmarks/results/probe-rtx5070/l2l/spill.json",+ "label": "F2",+ "lazy_shard_handles": false,+ "control_sync_source": false,+ "no_pin": false,+ "weights_dir": "D:\\synth\\llama-70b-shape-v32k-f4",+ "shard_dir": "C:\\Users\\user\\.soup\\layer-stream\\D___synth__llama-70b-shape-v32k-f4",+ "dtype": "bfloat16",+ "arch": "llama",+ "n_layers": 80,+ "hidden": 8192,+ "pinned": true,+ "source_class": "AsyncDiskSource",+ "direct_io": true,+ "store_gb": 1.956601912,+ "shard_seconds": 0.0023729000240564346,+ "build_seconds": 1.9853043999755755,+ "chunk_bytes": 8388608,+ "v3": {+ "free_gb": 15.725735936,+ "commit_avail_gb": 26.234904576,+ "need_gb": 10.73741824,+ "margin_gb": 4.0,+ "gpu_used_before_build_mib": 0,+ "gpu_pids": [+ 45176+ ],+ "foreign_gpu_pids": [],+ "ram_ok": true,+ "gpu_ok": true,+ "ok": true+ },+ "box": {+ "unix": 1791377487.1105304,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 15.72704256,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 26.23240192,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 1608,+ "python_processes": 5+ },+ "started": "2026-10-07T17:51:27",+ "spill_layers": 40,+ "spill_direct": true+ },+ "records": [+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 0,+ "variant": "pinned",+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "spill_pinned_k16_r0",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 111.4656911000299,+ "step_s_min": 111.29907490010373,+ "step_s_max": 111.61451310000848,+ "tok_per_s": 73.49346618816058,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6313894260866527,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.460642304,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 111.29907490010373,+ "started_unix": 1791377613.5332859,+ "loss": 12.017297744750977,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.48348529997747,+ "started_unix": 1791377724.8334212,+ "loss": 11.99416720867157,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.61451310000848,+ "started_unix": 1791377836.3167257,+ "loss": 11.943741798400879,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 224,+ "max_gap_s": 2.0162529945373535,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377499.7695608,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.19211264,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 13.782224896,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 2438,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791377948.4562497,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.236173312,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.539853312,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 0,+ "variant": "spill",+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 640,+ "spill_layers": 40,+ "pinned": true,+ "direct": true,+ "bytes_written": 21474836480,+ "bytes_read": 21474836480,+ "put_wait_s": 65.10694189940114,+ "get_wait_s": 0.012114106444641948,+ "spill_left_behind": null+ },+ "label": "spill_spill_k16_r0",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 111.93173650000244,+ "step_s_min": 111.79561300005298,+ "step_s_max": 112.0659694999922,+ "tok_per_s": 73.18746457578473,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.628760536847371,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.460642304,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2430,+ "records": [+ {+ "step_s": 111.79561300005298,+ "started_unix": 1791378068.9270165,+ "loss": 12.017259240150452,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 16.35170410014689,+ "get_wait_s": 0.0029208014020696282+ },+ {+ "step_s": 112.0659694999922,+ "started_unix": 1791378180.7233107,+ "loss": 11.99331545829773,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 15.992274699616246,+ "get_wait_s": 0.003616802510805428+ },+ {+ "step_s": 111.93362699996214,+ "started_unix": 1791378292.7898808,+ "loss": 11.945163011550903,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 16.336956201470457,+ "get_wait_s": 0.0026253029936924577+ }+ ],+ "suspend": {+ "samples": 225,+ "max_gap_s": 2.0172486305236816,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377955.3883407,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 5.292007424,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.3835008,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791378405.355371,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 5.039153152,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.40584448,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 1,+ "variant": "spill",+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 640,+ "spill_layers": 40,+ "pinned": true,+ "direct": true,+ "bytes_written": 21474836480,+ "bytes_read": 21474836480,+ "put_wait_s": 64.02936020353809,+ "get_wait_s": 0.01166040194220841,+ "spill_left_behind": null+ },+ "label": "spill_spill_k16_r1",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 112.14992939999017,+ "step_s_min": 111.88817930000369,+ "step_s_max": 112.28697289992124,+ "tok_per_s": 73.04507496195284,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6275372540003237,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.460642304,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2392,+ "records": [+ {+ "step_s": 111.88817930000369,+ "started_unix": 1791378527.970782,+ "loss": 12.016238451004028,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 15.921812400687486,+ "get_wait_s": 0.0028537013567984104+ },+ {+ "step_s": 112.28697289992124,+ "started_unix": 1791378639.8594499,+ "loss": 11.993088722229004,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 15.802641299553216,+ "get_wait_s": 0.0030537007842212915+ },+ {+ "step_s": 112.27463600004558,+ "started_unix": 1791378752.1464884,+ "loss": 11.94985967874527,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 5368709120,+ "spill_read": 5368709120,+ "put_wait_s": 16.112167802639306,+ "get_wait_s": 0.002880600281059742+ }+ ],+ "suspend": {+ "samples": 225,+ "max_gap_s": 2.015582799911499,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791378414.7331574,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 5.037686784,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.405725696,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791378864.9676652,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.76827648,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.254534144,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 1,+ "variant": "pinned",+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "spill_pinned_k16_r1",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 112.24498180005078,+ "step_s_min": 112.10032420000061,+ "step_s_max": 112.47032340010628,+ "tok_per_s": 72.98321821275661,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6270058367274658,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.460642304,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2062,+ "records": [+ {+ "step_s": 112.47032340010628,+ "started_unix": 1791378978.5914328,+ "loss": 12.020590484142303,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 112.10032420000061,+ "started_unix": 1791379091.0618012,+ "loss": 11.994104623794556,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 112.16429780004546,+ "started_unix": 1791379203.1632972,+ "loss": 11.948061883449554,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 225,+ "max_gap_s": 2.01625394821167,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791378865.5775132,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.777127936,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.298525184,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791379315.8888206,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 5.183389696,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.2380928,+ "ac": true,+ "gpu_pids": [+ 45176+ ],+ "gpu_mem_used_mib": 4428,+ "python_processes": 6+ },+ "foreign_readers": []+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/timing.json b/benchmarks/results/probe-rtx5070/l2l/timing.jsonnew file mode 100644index 00000000..a9e9e961--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/timing.json@@ -0,0 +1,3537 @@+{+ "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": "timing",+ "weights": "D:/synth/llama-70b-shape-v32k-f4",+ "shards": null,+ "quant": "nf4",+ "tier": "disk",+ "buffers": 2,+ "read_ahead": 2,+ "seq": 512,+ "lora_r": 8,+ "lora_targets": "q_proj,k_proj,v_proj,o_proj",+ "seed": 3,+ "input_seed": 17,+ "k": 2,+ "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": false,+ "dry_run": false,+ "allow_invalid": false,+ "out": "benchmarks/results/probe-rtx5070/l2l/timing.json",+ "label": "F2",+ "lazy_shard_handles": false,+ "control_sync_source": false,+ "no_pin": false,+ "weights_dir": "D:\\synth\\llama-70b-shape-v32k-f4",+ "shard_dir": "C:\\Users\\user\\.soup\\layer-stream\\D___synth__llama-70b-shape-v32k-f4",+ "dtype": "bfloat16",+ "arch": "llama",+ "n_layers": 80,+ "hidden": 8192,+ "pinned": true,+ "source_class": "AsyncDiskSource",+ "direct_io": true,+ "store_gb": 1.956601912,+ "shard_seconds": 0.00223280000500381,+ "build_seconds": 1.9567762999795377,+ "chunk_bytes": 8388608,+ "v3": {+ "free_gb": 15.648956416,+ "commit_avail_gb": 26.47990272,+ "need_gb": 10.73741824,+ "margin_gb": 4.0,+ "gpu_used_before_build_mib": 0,+ "gpu_pids": [+ 13448+ ],+ "foreign_gpu_pids": [],+ "ram_ok": true,+ "gpu_ok": true,+ "ok": true+ },+ "box": {+ "unix": 1791372875.2560782,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 15.654588416,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 26.53229056,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 1608,+ "python_processes": 6+ },+ "started": "2026-10-07T16:34:35"+ },+ "records": [+ {+ "kind": "arm",+ "mode": "plain",+ "arm": "A",+ "k": 1,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": null,+ "label": "plain_A_k1_r0",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "events_on": false,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 17.373456300003454,+ "step_s_min": 17.095856999978423,+ "step_s_max": 17.59280049998779,+ "tok_per_s": 29.470244213864238,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 4.050907172223757,+ "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.509238784,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 225,+ "sm_clock_mhz_end": 1335,+ "records": [+ {+ "step_s": 17.095856999978423,+ "loss": 11.942952156066895,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 17.59280049998779,+ "loss": 11.841716766357422,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 17.43171140004415,+ "loss": 11.594221115112305,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ }+ ],+ "suspend": {+ "samples": 36,+ "max_gap_s": 2.0152363777160645,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791372885.2768068,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.95576576,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 24.95049728,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 2438,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791372956.4945025,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.975967232,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 22.19667456,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "plain",+ "arm": "B",+ "k": 1,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": null,+ "label": "plain_B_k1_r0",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "events_on": false,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 6.396784066688269,+ "step_s_min": 6.390719500021078,+ "step_s_max": 6.407078100019135,+ "tok_per_s": 80.0402193762141,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 11.002131383252413,+ "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.509238784,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2445,+ "records": [+ {+ "step_s": 6.407078100019135,+ "loss": 12.061163902282715,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 6.392554600024596,+ "loss": 11.979798316955566,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 6.390719500021078,+ "loss": 11.830114364624023,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ }+ ],+ "suspend": {+ "samples": 14,+ "max_gap_s": 2.014932155609131,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791372956.8719814,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.9830656,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 22.220189696,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791372984.2017305,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.966943744,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 22.261559296,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 1,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 80,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k1_r0",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 17.165634333350074,+ "step_s_min": 17.12833249999676,+ "step_s_max": 17.196051700040698,+ "tok_per_s": 29.82703639476149,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 4.099950946483016,+ "peak_alloc_gb": 4.017649152,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 195,+ "records": [+ {+ "step_s": 17.12833249999676,+ "started_unix": 1791373002.9224126,+ "loss": 11.931461334228516,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.196051700040698,+ "started_unix": 1791373020.050969,+ "loss": 11.83263874053955,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.172518800012767,+ "started_unix": 1791373037.246922,+ "loss": 11.595738410949707,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 36,+ "max_gap_s": 2.015411138534546,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791372984.5851893,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.295097344,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 21.58092288,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373055.3558154,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.2639104,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 21.580480512,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 1,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 80,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k1_r0",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 6.949280099982086,+ "step_s_min": 6.932685000007041,+ "step_s_max": 6.975518999970518,+ "tok_per_s": 73.6766963820209,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 10.127417188462648,+ "peak_alloc_gb": 4.017649152,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 6.975518999970518,+ "started_unix": 1791373064.1085384,+ "loss": 12.072898864746094,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 6.939636299968697,+ "started_unix": 1791373071.0840309,+ "loss": 11.980339050292969,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 6.932685000007041,+ "started_unix": 1791373078.0245028,+ "loss": 11.821993827819824,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 16,+ "max_gap_s": 2.014538288116455,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373055.6671379,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.232395776,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 21.499867136,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373085.7182133,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 14.156541952,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 21.401776128,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 8+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 2,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 160,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k2_r0",+ "tokens_per_step": 1024,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 17.906545000034384,+ "step_s_min": 17.88642690004781,+ "step_s_max": 17.929202600033022,+ "tok_per_s": 57.18579435608788,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.930309209948924,+ "peak_alloc_gb": 4.027677184,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 187,+ "sm_clock_mhz_end": 277,+ "records": [+ {+ "step_s": 17.904005500022322,+ "started_unix": 1791373105.3842187,+ "loss": 11.957906723022461,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.88642690004781,+ "started_unix": 1791373123.288192,+ "loss": 11.865777492523193,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.929202600033022,+ "started_unix": 1791373141.1745467,+ "loss": 11.716234683990479,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 38,+ "max_gap_s": 2.0153913497924805,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373086.551261,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 13.503864832,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.806443008,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 8+ },+ "box_after": {+ "unix": 1791373160.2051008,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 13.526728704,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.882239488,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 2,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 160,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k2_r0",+ "tokens_per_step": 1024,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 13.869924966711551,+ "step_s_min": 13.851505600032397,+ "step_s_max": 13.880277900025249,+ "tok_per_s": 73.82880602870213,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 5.074162902893204,+ "peak_alloc_gb": 4.027677184,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2422,+ "records": [+ {+ "step_s": 13.877991400077008,+ "started_unix": 1791373176.5642703,+ "loss": 12.019615173339844,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 13.851505600032397,+ "started_unix": 1791373190.4428644,+ "loss": 11.96085500717163,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 13.880277900025249,+ "started_unix": 1791373204.2944267,+ "loss": 11.861358642578125,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 30,+ "max_gap_s": 2.0149357318878174,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373161.3587952,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 13.522767872,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.836257792,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373218.7955744,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 13.517631488,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.843184128,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 3,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 240,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k3_r0",+ "tokens_per_step": 1536,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 22.688316533342004,+ "step_s_min": 22.626728000002913,+ "step_s_max": 22.740574400057085,+ "tok_per_s": 67.7000427838154,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.10196036927528,+ "peak_alloc_gb": 4.036066816,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2407,+ "records": [+ {+ "step_s": 22.697647199966013,+ "started_unix": 1791373243.0415921,+ "loss": 11.939269781112671,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.626728000002913,+ "started_unix": 1791373265.7397027,+ "loss": 11.874354124069214,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.740574400057085,+ "started_unix": 1791373288.3669546,+ "loss": 11.764002561569214,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 47,+ "max_gap_s": 2.0152852535247803,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373219.2020085,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.840603648,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.168896512,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791373311.6813293,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.776808448,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.153790464,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": [+ {+ "pid": 49760,+ "name": "SearchIndexer.exe",+ "read_bytes": 1845409364+ }+ ]+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 3,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 240,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k3_r0",+ "tokens_per_step": 1536,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 20.894858533322502,+ "step_s_min": 20.851175499963574,+ "step_s_max": 20.947985999984667,+ "tok_per_s": 73.51090688412332,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.3682093908299424,+ "peak_alloc_gb": 4.036066816,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 262,+ "sm_clock_mhz_end": 2385,+ "records": [+ {+ "step_s": 20.851175499963574,+ "started_unix": 1791373333.916938,+ "loss": 12.034217357635498,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 20.88541410001926,+ "started_unix": 1791373354.768251,+ "loss": 11.996000528335571,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 20.947985999984667,+ "started_unix": 1791373375.6546295,+ "loss": 11.918840408325195,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 43,+ "max_gap_s": 2.0152578353881836,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373312.0811112,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.77425664,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 20.144021504,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373397.3605027,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.634996736,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 19.761528832,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 7+ },+ "foreign_readers": [+ {+ "pid": 49760,+ "name": "SearchIndexer.exe",+ "read_bytes": 5561085587+ }+ ]+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 4,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k4_r0",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 28.050763633296203,+ "step_s_min": 28.022480799932964,+ "step_s_max": 28.10706760000903,+ "tok_per_s": 73.01049008052772,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.5089605278503413,+ "peak_alloc_gb": 4.044456448,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 28.022480799932964,+ "started_unix": 1791373433.2538688,+ "loss": 11.96772050857544,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 28.10706760000903,+ "started_unix": 1791373461.2764096,+ "loss": 11.91158676147461,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 28.022742499946617,+ "started_unix": 1791373489.3839512,+ "loss": 11.81738805770874,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 61,+ "max_gap_s": 2.0155043601989746,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373397.864193,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 11.884515328,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 19.113930752,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791373517.9216864,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.196216832,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 19.496382464,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": [+ {+ "pid": 49760,+ "name": "SearchIndexer.exe",+ "read_bytes": 1116335950+ }+ ]+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 4,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k4_r0",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 27.748297900000278,+ "step_s_min": 27.736921000061557,+ "step_s_max": 27.7590610999614,+ "tok_per_s": 73.80632885593964,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.536309037247265,+ "peak_alloc_gb": 4.044456448,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 187,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 27.736921000061557,+ "started_unix": 1791373548.2454944,+ "loss": 12.033821105957031,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 27.7590610999614,+ "started_unix": 1791373575.983267,+ "loss": 11.996756792068481,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 27.748911599977873,+ "started_unix": 1791373603.7423415,+ "loss": 11.92532753944397,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 57,+ "max_gap_s": 2.015843391418457,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373519.3085034,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.208562176,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 19.505942528,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373632.0231478,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 12.211396608,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 19.517575168,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 8,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k8_r0",+ "tokens_per_step": 4096,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 55.81933726669134,+ "step_s_min": 55.7733255000785,+ "step_s_max": 55.85147620004136,+ "tok_per_s": 73.37958851840715,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 1.2608221841787486,+ "peak_alloc_gb": 4.078014976,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 225,+ "sm_clock_mhz_end": 2407,+ "records": [+ {+ "step_s": 55.7733255000785,+ "started_unix": 1791373689.9434867,+ "loss": 11.999968528747559,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.85147620004136,+ "started_unix": 1791373745.716985,+ "loss": 11.963299870491028,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.83321009995416,+ "started_unix": 1791373801.5696146,+ "loss": 11.893709778785706,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 113,+ "max_gap_s": 2.0157997608184814,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373632.9673877,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 9.52694784,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 16.809979904,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791373857.9493258,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 9.620963328,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 16.740909056,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 8,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k8_r0",+ "tokens_per_step": 4096,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 55.603995866607875,+ "step_s_min": 55.551631000009365,+ "step_s_max": 55.6883591999067,+ "tok_per_s": 73.66377067263595,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 1.265705056536496,+ "peak_alloc_gb": 4.078014976,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2407,+ "records": [+ {+ "step_s": 55.57199739990756,+ "started_unix": 1791373915.0878272,+ "loss": 12.04066812992096,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.6883591999067,+ "started_unix": 1791373970.6596942,+ "loss": 12.018084287643433,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.551631000009365,+ "started_unix": 1791374026.3486557,+ "loss": 11.968307614326477,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 112,+ "max_gap_s": 2.0156147480010986,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791373858.2602432,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 9.633697792,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 16.79546368,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791374082.4567301,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 9.496682496,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 16.5369856,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k16_r0",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 111.75244253334434,+ "step_s_min": 111.62803490005899,+ "step_s_max": 111.83213110000361,+ "tok_per_s": 73.30488546195039,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6297693109571253,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 1020,+ "records": [+ {+ "step_s": 111.83213110000361,+ "started_unix": 1791374197.697558,+ "loss": 12.013925909996033,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.79716159997042,+ "started_unix": 1791374309.5306642,+ "loss": 11.990225434303284,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.62803490005899,+ "started_unix": 1791374421.3286238,+ "loss": 11.95073264837265,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 224,+ "max_gap_s": 2.0160226821899414,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791374084.8657587,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.154855424,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.171074048,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791374533.8934352,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.193452032,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.205599232,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 16,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k16_r0",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 111.65401293333464,+ "step_s_min": 111.57521310006268,+ "step_s_max": 111.69833379995544,+ "tok_per_s": 73.36950804348791,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6303244897612484,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 187,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 111.69833379995544,+ "started_unix": 1791374646.9031372,+ "loss": 12.016310632228851,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.57521310006268,+ "started_unix": 1791374758.6031842,+ "loss": 11.998394250869751,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.68849189998582,+ "started_unix": 1791374870.1789303,+ "loss": 11.965834617614746,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 224,+ "max_gap_s": 2.015503168106079,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791374534.2167,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.19155968,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.20251904,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791374982.400463,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.14148608,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.179556864,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "C",+ "k": 4,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_C_k4_r0",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": true,+ "step_s_mean": 23.8812492666378,+ "step_s_min": 23.854243500041775,+ "step_s_max": 23.89621289994102,+ "tok_per_s": 85.75765769762573,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.9470090926239236,+ "peak_alloc_gb": 3.442573824,+ "peak_reserved_gb": 4.930404352,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2715,+ "records": [+ {+ "step_s": 23.89621289994102,+ "started_unix": 1791375007.6025274,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 23.854243500041775,+ "started_unix": 1791375031.4985354,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 23.893291399930604,+ "started_unix": 1791375055.3535619,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 49,+ "max_gap_s": 2.0149900913238525,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791374982.7359867,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.138582016,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.175358464,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791375080.2481647,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.060557312,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 10.98149888,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4876,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "D",+ "k": 4,+ "round": 0,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_D_k4_r0",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": true,+ "step_s_mean": 22.06428363333301,+ "step_s_min": 21.891105499933474,+ "step_s_max": 22.258789099985734,+ "tok_per_s": 92.81969149934423,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.1896915350416357,+ "peak_alloc_gb": 3.442573824,+ "peak_reserved_gb": 3.525312512,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2655,+ "records": [+ {+ "step_s": 21.891105499933474,+ "started_unix": 1791375104.4025075,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.042956300079823,+ "started_unix": 1791375126.2939925,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.258789099985734,+ "started_unix": 1791375148.337469,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 46,+ "max_gap_s": 2.015249729156494,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791375081.526011,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.074262528,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 13.5737344,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 2262,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791375171.2577088,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.154814464,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 12.480741376,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 3536,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "plain",+ "arm": "B",+ "k": 1,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": null,+ "label": "plain_B_k1_r1",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "events_on": false,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 6.436437099939212,+ "step_s_min": 6.427490899921395,+ "step_s_max": 6.450927599915303,+ "tok_per_s": 79.54711466143831,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 10.934350423880423,+ "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.509238784,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 6.450927599915303,+ "loss": 12.06550121307373,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 6.427490899921395,+ "loss": 11.989322662353516,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 6.430892799980938,+ "loss": 11.836019515991211,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ }+ ],+ "suspend": {+ "samples": 14,+ "max_gap_s": 2.015428066253662,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791375172.5179644,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.132110336,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 13.61092608,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 2262,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791375199.9253418,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.0835072,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.181576192,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "plain",+ "arm": "A",+ "k": 1,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": null,+ "label": "plain_A_k1_r1",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "events_on": false,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 17.419271366709534,+ "step_s_min": 17.235320200095885,+ "step_s_max": 17.741394500015303,+ "tok_per_s": 29.392733439958793,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 4.040252732183844,+ "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.509238784,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 1500,+ "records": [+ {+ "step_s": 17.235320200095885,+ "loss": 11.936078071594238,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 17.741394500015303,+ "loss": 11.818867683410645,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ },+ {+ "step_s": 17.28109940001741,+ "loss": 11.5946626663208,+ "layer_loads": 157,+ "large_loads": 2,+ "copy_s": 0.0,+ "stall_s": 0.0,+ "copy_events": 0+ }+ ],+ "suspend": {+ "samples": 36,+ "max_gap_s": 2.0155045986175537,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791375200.2228894,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.0885248,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.177271296,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791375271.718614,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.34481152,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.355062272,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 16,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k16_r1",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 111.43403976666741,+ "step_s_min": 111.33354459994007,+ "step_s_max": 111.52186660002917,+ "tok_per_s": 73.5143410142295,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6315687637221586,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2407,+ "records": [+ {+ "step_s": 111.44670810003299,+ "started_unix": 1791375384.6070743,+ "loss": 12.014267206192017,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.33354459994007,+ "started_unix": 1791375496.0538533,+ "loss": 11.996575772762299,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.52186660002917,+ "started_unix": 1791375607.3880064,+ "loss": 11.964532315731049,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 224,+ "max_gap_s": 2.015528917312622,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791375272.0533514,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.3389952,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.350929408,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791375719.4194775,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.189622272,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.361796096,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 16,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 1280,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k16_r1",+ "tokens_per_step": 8192,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 111.83856109999276,+ "step_s_min": 111.71340560005046,+ "step_s_max": 111.92550559993833,+ "tok_per_s": 73.24843881597945,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 0.6292843724006438,+ "peak_alloc_gb": 4.145132032,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2422,+ "records": [+ {+ "step_s": 111.71340560005046,+ "started_unix": 1791375833.0346522,+ "loss": 12.02020812034607,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.87677209998947,+ "started_unix": 1791375944.7488458,+ "loss": 11.995202243328094,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 111.92550559993833,+ "started_unix": 1791376056.6263876,+ "loss": 11.94804072380066,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 224,+ "max_gap_s": 2.015631675720215,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791375720.2054918,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.192550912,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.363037184,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791376169.1047602,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.19526656,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.233456128,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 8+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 8,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k8_r1",+ "tokens_per_step": 4096,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 55.69617053330876,+ "step_s_min": 55.63487760000862,+ "step_s_max": 55.757732999976724,+ "tok_per_s": 73.54186043276371,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 1.263610371379316,+ "peak_alloc_gb": 4.078014976,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 225,+ "sm_clock_mhz_end": 2400,+ "records": [+ {+ "step_s": 55.63487760000862,+ "started_unix": 1791376226.4768968,+ "loss": 12.043737292289734,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.757732999976724,+ "started_unix": 1791376282.1122713,+ "loss": 12.019227266311646,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.69590099994093,+ "started_unix": 1791376337.8699923,+ "loss": 11.97040569782257,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 113,+ "max_gap_s": 2.0156874656677246,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376169.472365,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.155142144,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.13096192,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 8+ },+ "box_after": {+ "unix": 1791376394.1318116,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.30675968,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.381907456,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 8,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 640,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k8_r1",+ "tokens_per_step": 4096,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 55.96562213334255,+ "step_s_min": 55.87992470001336,+ "step_s_max": 56.01785160007421,+ "tok_per_s": 73.18778642790666,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 1.2575266038197197,+ "peak_alloc_gb": 4.078014976,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2422,+ "records": [+ {+ "step_s": 55.99909009994008,+ "started_unix": 1791376451.484939,+ "loss": 12.002978086471558,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 56.01785160007421,+ "started_unix": 1791376507.483894,+ "loss": 11.958962321281433,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 55.87992470001336,+ "started_unix": 1791376563.5027516,+ "loss": 11.891011118888855,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 113,+ "max_gap_s": 2.016364574432373,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376394.4075649,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.313837568,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.379965952,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791376619.9412348,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.218650624,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.321503744,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 4,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k4_r1",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 27.835526566719636,+ "step_s_min": 27.823041500058025,+ "step_s_max": 27.851766800042242,+ "tok_per_s": 73.57504069812008,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.52836096214342,+ "peak_alloc_gb": 4.044456448,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2400,+ "records": [+ {+ "step_s": 27.823041500058025,+ "started_unix": 1791376649.2279837,+ "loss": 12.03201675415039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 27.831771400058642,+ "started_unix": 1791376677.0519342,+ "loss": 11.994887590408325,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 27.851766800042242,+ "started_unix": 1791376704.8838134,+ "loss": 11.926698923110962,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 57,+ "max_gap_s": 2.014916181564331,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376620.2234569,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.211785728,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.308695552,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791376733.2927573,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.093980672,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.23616768,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 4,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k4_r1",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 28.078210033359937,+ "step_s_min": 28.0617823000066,+ "step_s_max": 28.10768170002848,+ "tok_per_s": 72.93912245712086,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.5065080234239665,+ "peak_alloc_gb": 4.044456448,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2340,+ "records": [+ {+ "step_s": 28.10768170002848,+ "started_unix": 1791376762.9512036,+ "loss": 11.968996286392212,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 28.065166100044735,+ "started_unix": 1791376791.058711,+ "loss": 11.918269157409668,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 28.0617823000066,+ "started_unix": 1791376819.1242032,+ "loss": 11.817315101623535,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 58,+ "max_gap_s": 2.015434503555298,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376733.598065,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.09653248,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.237875712,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791376847.8641548,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.074749952,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.172122624,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 3,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 240,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k3_r1",+ "tokens_per_step": 1536,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 20.90562986667889,+ "step_s_min": 20.87575340003241,+ "step_s_max": 20.95603779994417,+ "tok_per_s": 73.47303141763756,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.3664739680565496,+ "peak_alloc_gb": 4.036066816,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2415,+ "records": [+ {+ "step_s": 20.95603779994417,+ "started_unix": 1791376871.2088761,+ "loss": 12.0325186252594,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 20.87575340003241,+ "started_unix": 1791376892.1649597,+ "loss": 11.99225640296936,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 20.885098400060087,+ "started_unix": 1791376913.0403926,+ "loss": 11.912530183792114,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 43,+ "max_gap_s": 2.016688585281372,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376848.6326673,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.093448192,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.210616832,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791376934.6299293,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.140691456,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.064610816,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 3,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 240,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k3_r1",+ "tokens_per_step": 1536,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 22.55896676669363,+ "step_s_min": 22.51071950001642,+ "step_s_max": 22.594357699970715,+ "tok_per_s": 68.08822477932685,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.1197465495586187,+ "peak_alloc_gb": 4.036066816,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 180,+ "sm_clock_mhz_end": 2407,+ "records": [+ {+ "step_s": 22.571823100093752,+ "started_unix": 1791376960.0033238,+ "loss": 11.933749437332153,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.594357699970715,+ "started_unix": 1791376982.5755394,+ "loss": 11.875595808029175,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 22.51071950001642,+ "started_unix": 1791377005.1695635,+ "loss": 11.746559619903564,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 47,+ "max_gap_s": 2.015963554382324,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791376935.7650373,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.136722432,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.048656896,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791377028.4303997,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.190691328,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 10.844090368,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 2,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 160,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k2_r1",+ "tokens_per_step": 1024,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 13.930444799984494,+ "step_s_min": 13.908478199969977,+ "step_s_max": 13.948701199959032,+ "tok_per_s": 73.50806199678131,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 5.052118560641964,+ "peak_alloc_gb": 4.027677184,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2400,+ "records": [+ {+ "step_s": 13.934155000024475,+ "started_unix": 1791377043.609695,+ "loss": 12.02073335647583,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 13.908478199969977,+ "started_unix": 1791377057.5439842,+ "loss": 11.964844703674316,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 13.948701199959032,+ "started_unix": 1791377071.4512231,+ "loss": 11.858201503753662,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 30,+ "max_gap_s": 2.0146265029907227,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377028.7273717,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.187521024,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 10.842320896,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 7+ },+ "box_after": {+ "unix": 1791377086.2650552,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.312879104,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.186876416,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 2,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 160,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k2_r1",+ "tokens_per_step": 1024,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 18.113556899984058,+ "step_s_min": 17.963730599964038,+ "step_s_max": 18.28025609999895,+ "tok_per_s": 56.532242985412836,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.885391429226247,+ "peak_alloc_gb": 4.027677184,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 225,+ "sm_clock_mhz_end": 2392,+ "records": [+ {+ "step_s": 18.28025609999895,+ "started_unix": 1791377105.8414624,+ "loss": 11.953634262084961,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 18.09668399998918,+ "started_unix": 1791377124.1222987,+ "loss": 11.864302158355713,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.963730599964038,+ "started_unix": 1791377142.2186306,+ "loss": 11.724989891052246,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 38,+ "max_gap_s": 2.0149099826812744,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377086.5627034,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.324089856,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.254501376,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791377160.7587328,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.225097728,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.107848192,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 5+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "B",+ "k": 1,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 80,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_B_k1_r1",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": false,+ "step_s_mean": 7.0015031999985995,+ "step_s_min": 6.978830399923027,+ "step_s_max": 7.031577000045218,+ "tok_per_s": 73.12715360897106,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 10.051878392630611,+ "peak_alloc_gb": 4.017649152,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 270,+ "sm_clock_mhz_end": 2422,+ "records": [+ {+ "step_s": 6.994102200027555,+ "started_unix": 1791377169.1853075,+ "loss": 12.059452056884766,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 6.978830399923027,+ "started_unix": 1791377176.179685,+ "loss": 11.980813980102539,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 7.031577000045218,+ "started_unix": 1791377183.157967,+ "loss": 11.823354721069336,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 16,+ "max_gap_s": 2.0155274868011475,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377161.2065005,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.247621632,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.157970944,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791377190.8455076,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.121223168,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 10.812096512,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "A",+ "k": 1,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 80,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_A_k1_r1",+ "tokens_per_step": 512,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": false,+ "step_s_mean": 19.76519680003791,+ "step_s_min": 17.149525000015274,+ "step_s_max": 24.9894833000144,+ "tok_per_s": 25.904118495749962,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.560716315856011,+ "peak_alloc_gb": 4.017649152,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 330,+ "sm_clock_mhz_end": 1327,+ "records": [+ {+ "step_s": 17.15658210008405,+ "started_unix": 1791377209.306366,+ "loss": 11.941356658935547,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 17.149525000015274,+ "started_unix": 1791377226.4634209,+ "loss": 11.830880165100098,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 24.9894833000144,+ "started_unix": 1791377243.6132355,+ "loss": 11.594077110290527,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 40,+ "max_gap_s": 2.0171825885772705,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377191.1167948,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.118061056,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 10.80651776,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 6+ },+ "box_after": {+ "unix": 1791377269.1551588,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.238368768,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.266490368,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 4+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "D",+ "k": 4,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_D_k4_r1",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": true,+ "nodequant": true,+ "step_s_mean": 21.84589106667166,+ "step_s_min": 21.78457629994955,+ "step_s_max": 21.89994899998419,+ "tok_per_s": 93.74760652928698,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 3.2215787635858844,+ "peak_alloc_gb": 3.442573824,+ "peak_reserved_gb": 4.741660672,+ "sm_clock_mhz_start": 285,+ "sm_clock_mhz_end": 472,+ "records": [+ {+ "step_s": 21.85314790008124,+ "started_unix": 1791377292.3306618,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 21.78457629994955,+ "started_unix": 1791377314.183909,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 21.89994899998419,+ "started_unix": 1791377335.9694662,+ "loss": 161.7244644165039,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 45,+ "max_gap_s": 2.0156004428863525,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377269.729771,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.266520576,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.298803712,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 4+ },+ "box_after": {+ "unix": 1791377358.7161129,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.242935808,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 11.269373952,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 4696,+ "python_processes": 5+ },+ "foreign_readers": []+ },+ {+ "kind": "arm",+ "mode": "l2l",+ "arm": "C",+ "k": 4,+ "round": 1,+ "variant": null,+ "skipped": null,+ "store": {+ "chunk_bytes": 8388608,+ "resident_chunks": 320,+ "spilled_chunks": 0,+ "spill_layers": 0,+ "pinned": true,+ "direct": null,+ "bytes_written": 0,+ "bytes_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0,+ "spill_left_behind": null+ },+ "label": "l2l_C_k4_r1",+ "tokens_per_step": 2048,+ "steps": 3,+ "warmup": 1,+ "nocopy": false,+ "nodequant": true,+ "step_s_mean": 23.847738066649374,+ "step_s_min": 23.783034699968994,+ "step_s_max": 23.923059899942018,+ "tok_per_s": 85.87816564725233,+ "layer_loads_per_step": 157.0,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": 70378258732.0,+ "implied_h2d_gb_per_s": 2.9511502740975972,+ "peak_alloc_gb": 3.442573824,+ "peak_reserved_gb": 3.525312512,+ "sm_clock_mhz_start": 277,+ "sm_clock_mhz_end": 2662,+ "records": [+ {+ "step_s": 23.837119600037113,+ "started_unix": 1791377383.659948,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 23.923059899942018,+ "started_unix": 1791377407.4969223,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ },+ {+ "step_s": 23.783034699968994,+ "started_unix": 1791377431.4197004,+ "loss": 12.051763772964478,+ "layer_loads": 157,+ "large_loads": 2,+ "spill_written": 0,+ "spill_read": 0,+ "put_wait_s": 0.0,+ "get_wait_s": 0.0+ }+ ],+ "suspend": {+ "samples": 49,+ "max_gap_s": 2.0151660442352295,+ "battery_samples": 0,+ "unknown_power_samples": 0,+ "void": false+ },+ "box_before": {+ "unix": 1791377359.0416865,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.239814656,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 13.616226304,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 2262,+ "python_processes": 5+ },+ "box_after": {+ "unix": 1791377455.7592804,+ "total_phys_gb": 34.070192128,+ "avail_phys_gb": 4.272074752,+ "commit_limit_gb": 60.913737728,+ "commit_avail_gb": 12.514287616,+ "ac": true,+ "gpu_pids": [+ 13448+ ],+ "gpu_mem_used_mib": 3536,+ "python_processes": 5+ },+ "foreign_readers": []+ }+ ]+}diff --git a/benchmarks/results/probe-rtx5070/l2l/verdict.md b/benchmarks/results/probe-rtx5070/l2l/verdict.mdnew file mode 100644index 00000000..2c3d96cf--- /dev/null+++ b/benchmarks/results/probe-rtx5070/l2l/verdict.md@@ -0,0 +1,37 @@+| gate | status | detail |+|---|---|---|+| G1 | pass | F1: 256 tensors + losses equal (deterministic); F2: 640 tensors + losses equal (deterministic) |+| G2 | pass | T_A(16) 73.3 vs 0.8 x T_B(16) 58.8 tok/s |+| G3 | no verdict | ('l2l', 'A', 1): V4: round spread 14.1% > 5% |+| G4 | no verdict | ('l2l', 'A', 1): V4: round spread 14.1% > 5% |++| row | ok | detail |+|---|---|---|+| V1 | True | direct_io=True |+| V2 | True | A: loads 159.0 vs 159.0, bytes 70.378 vs 70.378 GB; B: loads 159.0 vs 159.0, bytes 70.378 vs 70.378 GB |+| V3 | True | {'free_gb': 15.648956416, 'commit_avail_gb': 26.47990272, 'need_gb': 10.73741824, 'margin_gb': 4.0, 'gpu_used_before_build_mib': 0, 'gpu_pids': [13448], 'foreign_gpu_pids': [], 'ram_ok': True, 'gpu_ok': True, 'ok': True} |++| arm | valid | step s | tok/s | peak GB | why |+|---|---|---|---|---|---|+| plain/A/k1 | True | 17.396 | 29.4 | 4.509 | |+| plain/B/k1 | True | 6.417 | 79.8 | 4.509 | |+| l2l/A/k1 | False | 18.465 | 27.7 | 4.018 | V4: round spread 14.1% > 5% |+| l2l/B/k1 | True | 6.975 | 73.4 | 4.018 | |+| l2l/A/k16 | True | 111.796 | 73.3 | 4.145 | |+| l2l/B/k16 | True | 111.544 | 73.4 | 4.145 | |+| l2l/A/k4 | False | 28.064 | 73.0 | 4.044 | V6: round 0 foreign reader SearchIndexer.exe 1.12 GB |+| l2l/B/k4 | True | 27.792 | 73.7 | 4.044 | |+| l2l/C/k4 | True | 23.864 | 85.8 | 3.443 | |+| l2l/D/k4 | True | 21.955 | 93.3 | 3.443 | |+| l2l/A/k2 | True | 18.010 | 56.9 | 4.028 | |+| l2l/A/k3 | False | 22.624 | 67.9 | 4.036 | V6: round 0 foreign reader SearchIndexer.exe 1.85 GB |++I2: {'dequant_share': 0.21001882973534314, 'c4_over_a4': None}++I3: {'overhead': 1.0864772852203788}++I4: {'ratio': 0.998344384854415, 'free': True, 'direct': True}++I6: {'b': 1.0870835247708035}++**Verdict: NO VERDICT: G3, G4**diff --git a/tests/test_l2l_probe_harness.py b/tests/test_l2l_probe_harness.pynew file mode 100644index 00000000..9455a3e5--- /dev/null+++ b/tests/test_l2l_probe_harness.py@@ -0,0 +1,967 @@+"""CPU tests for the L2L step-0 probe harness (benchmarks/harness/l2l_*.py).++The harness is benchmark code, not shipped; these tests pin the parts a GPU run+cannot check by itself: the schedule's bit-exactness against gradient+accumulation, the activation store's byte round trip and spill ordering, the+suspend watch, and the rule's verdict logic.+"""++from __future__ import annotations++import importlib.util+import json+import sys+import threading+import time+from pathlib import Path++import pytest+++def _psutil_has_io_counters() -> bool:+ """macOS psutil has no per-process io_counters; the two tests that read it skip there."""+ try:+ import psutil+ except ImportError:+ return False+ return hasattr(psutil.Process(), "io_counters")+++_NEEDS_IO_COUNTERS = pytest.mark.skipif(+ not _psutil_has_io_counters(),+ reason="psutil exposes no per-process io_counters on this platform",+)++HARNESS = Path(__file__).resolve().parent.parent / "benchmarks" / "harness"+++def _load(name: str):+ if str(HARNESS) not in sys.path:+ sys.path.insert(0, str(HARNESS))+ spec = importlib.util.spec_from_file_location(name, HARNESS / f"{name}.py")+ module = importlib.util.module_from_spec(spec)+ sys.modules[name] = module+ spec.loader.exec_module(module)+ return module+++# --------------------------------------------------------------------------+# l2l_activations+# --------------------------------------------------------------------------+def acts():+ return _load("l2l_activations")+++def _chunk(seed: int, shape=(1, 8, 128)):+ import torch++ gen = torch.Generator().manual_seed(seed)+ return torch.randn(shape, generator=gen)+++def _store(acts, tmp_path, *, n_layers=4, k=3, spill_layers=0, backend=None, ring=8):+ import torch++ factory = None+ if spill_layers:+ made = backend or acts.BufferedSpillFile++ def factory(size):+ return made(str(tmp_path / "spill.bin"), size)++ return acts.ActivationStore(+ n_layers=n_layers,+ k=k,+ chunk_shape=(1, 8, 128),+ dtype=torch.float32,+ device="cpu",+ pin=False,+ spill_layers=spill_layers,+ spill_factory=factory,+ ring=ring,+ )+++def _forward_puts(store, n_layers, k):+ for layer in range(n_layers):+ for mb in range(k):+ store.put(layer, mb, _chunk(layer * 100 + mb))+++def test_aligned_buffer_is_sector_aligned_and_exact(acts):+ buf = acts.aligned_buffer(3 * 4096, pin=False)+ assert buf.data_ptr() % 4096 == 0+ assert buf.numel() == 3 * 4096+++def test_resident_round_trip_returns_a_copy(acts, tmp_path):+ import torch++ store = _store(acts, tmp_path)+ _forward_puts(store, 4, 3)+ store.begin_backward()+ for layer in range(3, -1, -1):+ for mb in range(3):+ got = store.get(layer, mb)+ assert torch.equal(got, _chunk(layer * 100 + mb))+ got.zero_() # a caller scribbling on its tensor must not reach the store+ assert torch.equal(store.get(layer, mb), _chunk(layer * 100 + mb))+ store.end_step()+ store.close()+++def test_spill_round_trip_picks_the_lowest_layers(acts, tmp_path):+ import torch++ store = _store(acts, tmp_path, spill_layers=2)+ assert [store.is_spilled(layer) for layer in range(4)] == [True, True, False, False]+ assert store.stats.resident_chunks == 2 * 3+ assert store.stats.spilled_chunks == 2 * 3+ _forward_puts(store, 4, 3)+ store.begin_backward()+ for layer in range(3, -1, -1):+ for mb in range(3):+ assert torch.equal(store.get(layer, mb), _chunk(layer * 100 + mb))+ store.end_step()+ assert store.stats.bytes_written == 2 * 3 * store.chunk_bytes+ assert store.stats.bytes_read == 2 * 3 * store.chunk_bytes+ store.close()+ assert not (tmp_path / "spill.bin").exists()+++def test_spill_survives_two_steps_with_new_values(acts, tmp_path):+ import torch++ store = _store(acts, tmp_path, spill_layers=2)+ for step in range(2):+ for layer in range(4):+ for mb in range(3):+ store.put(layer, mb, _chunk(step * 1000 + layer * 100 + mb))+ store.begin_backward()+ for layer in range(3, -1, -1):+ for mb in range(3):+ assert torch.equal(store.get(layer, mb), _chunk(step * 1000 + layer * 100 + mb))+ store.end_step()+ store.close()+++def test_get_without_begin_backward_reads_on_demand(acts, tmp_path):+ import torch++ store = _store(acts, tmp_path, spill_layers=1)+ _forward_puts(store, 4, 3)+ assert torch.equal(store.get(0, 2), _chunk(2))+ store.close()+++def test_a_ring_of_one_back_pressures_instead_of_overwriting(acts, tmp_path):+ import torch++ class SlowFile(acts.BufferedSpillFile):+ def write(self, offset, buf):+ time.sleep(0.02) # the staging buffer must not be refilled meanwhile+ super().write(offset, buf)++ store = _store(acts, tmp_path, spill_layers=3, backend=SlowFile, ring=1)+ _forward_puts(store, 4, 3)+ store.begin_backward()+ for layer in range(3, -1, -1):+ for mb in range(3):+ assert torch.equal(store.get(layer, mb), _chunk(layer * 100 + mb))+ store.end_step()+ assert store.stats.put_wait_s > 0.0+ store.close()+++def test_spill_write_failure_surfaces_on_the_next_call(acts, tmp_path):+ class BrokenFile(acts.BufferedSpillFile):+ def write(self, offset, buf):+ raise OSError("disk full")++ store = _store(acts, tmp_path, spill_layers=2, backend=BrokenFile)+ store.put(0, 0, _chunk(0))+ with pytest.raises(RuntimeError, match="spill.bin"):+ deadline = time.time() + 5+ while time.time() < deadline:+ store.put(0, 1, _chunk(1))+ time.sleep(0.01)+ store.close()+++def test_end_step_refuses_unconsumed_spilled_chunks(acts, tmp_path):+ store = _store(acts, tmp_path, spill_layers=2)+ _forward_puts(store, 4, 3)+ store.begin_backward()+ store.get(3, 0)+ with pytest.raises(RuntimeError, match="not consumed"):+ store.end_step()+ store.close()+++def test_spill_layers_without_a_factory_is_refused(acts):+ import torch++ with pytest.raises(ValueError, match="spill_factory"):+ acts.ActivationStore(+ n_layers=4,+ k=2,+ chunk_shape=(1, 8, 128),+ dtype=torch.float32,+ device="cpu",+ pin=False,+ spill_layers=1,+ )+++def test_direct_spill_refuses_an_unaligned_size(acts, tmp_path):+ with pytest.raises(ValueError, match="multiple of 4096"):+ acts.DirectSpillFile(str(tmp_path / "x.bin"), 4096 + 512)+++# --------------------------------------------------------------------------+# l2l_box+# --------------------------------------------------------------------------+def box():+ return _load("l2l_box")+++class _FakeClock:+ def __init__(self, times):+ self.times = list(times)++ def __call__(self):+ return self.times.pop(0)+++def test_steady_samples_are_not_void(box):+ watch = box.SuspendWatch(clock=_FakeClock([0, 2, 4, 6]), power=lambda: True)+ for _ in range(4):+ watch.sample()+ report = watch.report()+ assert report["samples"] == 4+ assert report["max_gap_s"] == pytest.approx(2.0)+ assert report["void"] is False+++def test_gap_over_limit_voids(box):+ watch = box.SuspendWatch(clock=_FakeClock([0, 2, 33]), power=lambda: True)+ for _ in range(3):+ watch.sample()+ assert watch.report()["max_gap_s"] == pytest.approx(31.0)+ assert watch.report()["void"] is True+++def test_battery_sample_voids(box):+ power = iter([True, False, True])+ watch = box.SuspendWatch(clock=_FakeClock([0, 2, 4]), power=lambda: next(power))+ for _ in range(3):+ watch.sample()+ assert watch.report()["battery_samples"] == 1+ assert watch.report()["void"] is True+++def test_unknown_power_is_recorded_not_void(box):+ watch = box.SuspendWatch(clock=_FakeClock([0, 2]), power=lambda: None)+ watch.sample()+ watch.sample()+ assert watch.report()["unknown_power_samples"] == 2+ assert watch.report()["void"] is False+++def test_thread_start_stop_takes_samples(box):+ watch = box.SuspendWatch(interval=0.01, power=lambda: True)+ watch.start()+ time.sleep(0.1)+ report = watch.stop()+ assert report["samples"] >= 3+ assert not any(t.name == "l2l-suspend-watch" for t in threading.enumerate())+++def test_box_stamp_has_the_keys(box):+ stamp = box.box_stamp()+ for key in (+ "unix",+ "avail_phys_gb",+ "commit_avail_gb",+ "ac",+ "gpu_pids",+ "gpu_mem_used_mib",+ "python_processes",+ ):+ assert key in stamp+++def test_foreign_readers_flags_heavy_other_processes(box):+ before = {+ 10: {"name": "a.exe", "read": 0},+ 11: {"name": "b.exe", "read": 5},+ 99: {"name": "python.exe", "read": 0},+ }+ after = {+ 10: {"name": "a.exe", "read": 2_000_000_000},+ 11: {"name": "b.exe", "read": 6},+ 99: {"name": "python.exe", "read": 3_000_000_000},+ 12: {"name": "SearchIndexer.exe", "read": 1_500_000_000},+ }+ heavy = box.foreign_readers(before, after, own_pids={99}, threshold=1_000_000_000)+ assert [(row["pid"], row["name"]) for row in heavy] == [+ (10, "a.exe"),+ (12, "SearchIndexer.exe"),+ ]+ assert heavy[0]["read_bytes"] == 2_000_000_000+++def test_foreign_readers_is_none_without_snapshots(box):+ assert box.foreign_readers(None, {}, own_pids=set()) is None+++@_NEEDS_IO_COUNTERS+def test_process_read_bytes_sees_this_process(box):+ import os++ snapshot = box.process_read_bytes()+ if snapshot is None:+ pytest.skip("psutil is not installed")+ assert os.getpid() in snapshot+ assert snapshot[os.getpid()]["read"] >= 0+++# --------------------------------------------------------------------------+# l2l_schedule — bit-exact against gradient accumulation, on the SHIPPED runtime+# --------------------------------------------------------------------------+SEQ = 8+++def sched():+ return _load("l2l_schedule")+++def streamed(tmp_path):+ """A tiny untied Llama through shard_checkpoint + build_streamed_model on CPU.++ Untied, so the embed/head share the streamed large slot exactly as the 70B+ fixture's do; three layers, so the zig-zag turnaround and the backward+ prefetch both run.+ """+ pytest.importorskip("peft")+ from peft import LoraConfig, TaskType++ from soup_cli.utils.layer_shard import shard_checkpoint+ from soup_cli.utils.layer_stream_runtime import build_streamed_model+ from tests.test_v07204 import _tiny_llama_dir++ weights, _model, _config = _tiny_llama_dir(tmp_path, n_layers=3, tie=False)+ shards = str(tmp_path / "shards")+ index = shard_checkpoint(weights, shards, dtype="float32", arch="llama")+ lora = LoraConfig(+ r=4,+ lora_alpha=8,+ lora_dropout=0.0,+ bias="none",+ target_modules=["q_proj", "k_proj", "v_proj", "o_proj"],+ task_type=TaskType.CAUSAL_LM,+ )+ model, runtime = build_streamed_model(+ model_id=weights,+ shard_dir=shards,+ index=index,+ lora_config=lora,+ device="cpu",+ dtype="float32",+ buffers=2,+ pin=False,+ seed=3,+ )+ yield model, runtime+ runtime.close()+++def _micro_batches(k, vocab=64, seed=17):+ import torch++ gen = torch.Generator().manual_seed(seed)+ return [torch.randint(0, vocab, (1, SEQ), generator=gen) for _ in range(k)]+++def _cpu_store(acts, k, n_layers=3, hidden=64):+ import torch++ return acts.ActivationStore(+ n_layers=n_layers,+ k=k,+ chunk_shape=(1, SEQ, hidden),+ dtype=torch.float32,+ device="cpu",+ pin=False,+ )++[email protected]("k", [1, 2, 3])+def test_l2l_equals_gradient_accumulation_bit_for_bit(sched, acts, streamed, k):+ model, runtime = streamed+ sched.make_non_vacuous(model)+ mbs = _micro_batches(k)+ sched.zero_grads(model)+ ga_losses = sched.ga_step(model, mbs)+ ga = sched.collect_grads(model)++ call = sched.capture_layer_call(model, mbs[0])+ step = sched.L2LStep(model, runtime, call)+ sched.zero_grads(model)+ l2l_losses = step.run(mbs, _cpu_store(acts, k))+ l2l = sched.collect_grads(model)++ result = sched.compare(ga, l2l)+ assert result["tensors"] == 3 * 4 * 2 # 3 layers x q/k/v/o x A/B+ assert result["all_zero"] == []+ assert result["equal"], result+ assert sched.losses_equal(ga_losses, l2l_losses)+++def test_the_divisor_matters(sched, acts, streamed):+ """Mutation guard: dividing by one micro-batch's tokens instead of all k must differ."""+ model, runtime = streamed+ sched.make_non_vacuous(model)+ mbs = _micro_batches(2)+ sched.zero_grads(model)+ sched.ga_step(model, mbs)+ ga = sched.collect_grads(model)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ sched.zero_grads(model)+ step.run(mbs, _cpu_store(acts, 2), n_items=SEQ - 1)+ assert not sched.compare(ga, sched.collect_grads(model))["equal"]+++def test_losses_are_compared_per_position(sched, acts, streamed):+ """Mutation guard: the same micro-batches in another order must not pass."""+ model, runtime = streamed+ mbs = _micro_batches(2)+ sched.zero_grads(model)+ ga_losses = sched.ga_step(model, mbs)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ sched.zero_grads(model)+ swapped = step.run(list(reversed(mbs)), _cpu_store(acts, 2))+ assert not sched.losses_equal(ga_losses, swapped)+++def test_one_prime_and_the_loads_of_one_micro_batch(sched, acts, streamed):+ """`prime` loads layer 0 unconditionally and `advance` skips owned slots, so a+ step's load count depends on what the previous walk left in the slots. Both+ measured steps therefore follow the same forward-only walk."""+ model, runtime = streamed+ mbs = _micro_batches(3)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ sched.zero_grads(model)+ loads = runtime.pool.loads+ sched.ga_step(model, mbs[:1])+ ga_loads = runtime.pool.loads - loads+ sched.capture_layer_call(model, mbs[0])+ sched.zero_grads(model)+ loads, primes = runtime.pool.loads, runtime.prefetcher.primes+ step.run(mbs, _cpu_store(acts, 3))+ assert runtime.prefetcher.primes - primes == 1+ assert runtime.pool.loads - loads == ga_loads+++def test_checkpoint_flags_are_restored(sched, acts, streamed):+ model, runtime = streamed+ mbs = _micro_batches(2)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ step.run(mbs, _cpu_store(acts, 2))+ assert all(layer.use_checkpoint for layer in step.layers)+++def test_capture_drops_num_items_and_keeps_rotary(sched, streamed):+ model, _runtime = streamed+ call = sched.capture_layer_call(model, _micro_batches(1)[0])+ assert "num_items_in_batch" not in call.kwargs+ assert call.kwargs.get("position_embeddings") is not None+++def test_run_refuses_more_micro_batches_than_the_store_holds(sched, acts, streamed):+ model, runtime = streamed+ mbs = _micro_batches(3)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ with pytest.raises(ValueError, match="3 micro-batches.*holds 2"):+ step.run(mbs, _cpu_store(acts, 2))+ with pytest.raises(ValueError, match="at least one"):+ step.run([], _cpu_store(acts, 2))+++def test_missing_prime_hook_is_refused(sched, streamed):+ model, runtime = streamed+ runtime.hook.remove()+ with pytest.raises(RuntimeError, match="prime hook"):+ sched.L2LStep(model, runtime, sched.LayerCall(args=(), kwargs={}))+++def test_snapshot_restore_round_trip(sched, streamed):+ import torch++ model, _runtime = streamed+ snap = sched.snapshot_adapters(model)+ sched.make_non_vacuous(model, seed=99)+ sched.restore_adapters(model, snap)+ for name, param in sched.lora_parameters(model).items():+ assert torch.equal(param.detach(), snap[name])+ assert param.grad is None+++# --------------------------------------------------------------------------+# l2l_rule+# --------------------------------------------------------------------------+def rule():+ return _load("l2l_rule")+++def _cmp(equal=True, zero=()):+ return {+ "tensors": 4,+ "unequal": [] if equal else ["x"],+ "max_abs": 0.0 if equal else 1e-3,+ "worst": [],+ "all_zero": list(zero),+ "equal": equal,+ }+++def _corr(fixture, *, a_vs_a=True, l2l=True, det=False, error=None):+ rec = {+ "kind": "correctness",+ "fixture": fixture,+ "k": 2,+ "deterministic": det,+ "a_vs_a": _cmp(a_vs_a),+ "a_vs_a_losses_equal": a_vs_a,+ "l2l": _cmp(l2l),+ "l2l_losses_equal": l2l,+ }+ if error:+ rec["deterministic_error"] = error+ return {"meta": {}, "records": [rec]}+++def _arm(+ mode, arm, k, rnd, step_s, *, peak=4.4, void=False, variant=None, skipped=None, loads=157.0+):+ return {+ "kind": "arm",+ "mode": mode,+ "arm": arm,+ "k": k,+ "round": rnd,+ "variant": variant,+ "step_s_mean": step_s,+ "tokens_per_step": 512 * k,+ "peak_alloc_gb": peak,+ "layer_loads_per_step": loads,+ "large_loads_per_step": 2.0,+ "bytes_moved_per_step": loads * 441e6 + 2 * 525e6,+ "suspend": {"void": void},+ "store": None,+ "skipped": skipped,+ }+++def _timing(**over):+ """Predicted-shape numbers that pass every gate."""+ times = {+ ("plain", "A", 1): 17.1,+ ("plain", "B", 1): 6.43,+ ("l2l", "A", 1): 17.2,+ ("l2l", "B", 1): 6.5,+ ("l2l", "A", 16): 104.0,+ ("l2l", "B", 16): 103.0,+ ("l2l", "C", 4): 26.0,+ ("l2l", "D", 4): 20.0,+ ("l2l", "A", 4): 26.5,+ ("l2l", "B", 4): 26.0,+ }+ times.update(over.pop("times", {}))+ records = []+ for (mode, arm, k), step_s in times.items():+ for rnd in (0, 1):+ records.append(+ _arm(mode, arm, k, rnd, step_s, peak=over.get("peak16", 4.6) if k == 16 else 4.4)+ )+ for patch in over.pop("patch", []):+ patch(records)+ meta = {"direct_io": over.get("direct_io", True), "v3": {"ok": over.get("v3", True)}}+ return {"meta": meta, "records": records}+++def _write(tmp_path, timing=None, f1=None, f2=None, f1_det=None, spill=None):+ files = {+ "timing.json": timing or _timing(),+ "correctness_f1.json": f1 or _corr("F1"),+ "correctness_f2.json": f2 or _corr("F2"),+ }+ if f1_det:+ files["correctness_f1_det.json"] = f1_det+ if spill:+ files["spill.json"] = spill+ for name, payload in files.items():+ (tmp_path / name).write_text(json.dumps(payload), encoding="utf-8")+ return str(tmp_path)+++def test_all_gates_pass(rule, tmp_path):+ out = rule.evaluate(_write(tmp_path))+ assert [out["gates"][g]["status"] for g in ("G1", "G2", "G3", "G4")] == ["pass"] * 4+ assert out["verdict"] == "BUILD STEP 1"+++def test_g2_fails_when_the_read_does_not_hide(rule, tmp_path):+ timing = _timing(times={("l2l", "A", 16): 140.0}) # T_A = 0.74 x T_B+ out = rule.evaluate(_write(tmp_path, timing=timing))+ assert out["gates"]["G2"]["status"] == "fail"+ assert out["verdict"].startswith("STOP")+++def test_g4_fails_when_vram_grows(rule, tmp_path):+ out = rule.evaluate(_write(tmp_path, timing=_timing(peak16=5.0)))+ assert out["gates"]["G4"]["status"] == "fail"+++def test_round_spread_over_5pct_removes_the_gates_using_that_arm(rule, tmp_path):+ def widen(records):+ for rec in records:+ if (rec["mode"], rec["arm"], rec["k"], rec["round"]) == ("l2l", "A", 16, 1):+ rec["step_s_mean"] = 104.0 * 1.12++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[widen])))+ for gate in ("G2", "G3", "G4"):+ assert out["gates"][gate]["status"] == "no verdict", gate+ assert out["verdict"].startswith("NO VERDICT")+++def test_suspend_void_on_b16_removes_g2_only(rule, tmp_path):+ def void(records):+ for rec in records:+ if (rec["mode"], rec["arm"], rec["k"]) == ("l2l", "B", 16):+ rec["suspend"]["void"] = True++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[void])))+ assert out["gates"]["G2"]["status"] == "no verdict"+ assert out["gates"]["G3"]["status"] == "pass"+ assert out["gates"]["G4"]["status"] == "pass"+++def test_v2_judges_the_work_not_the_time(rule, tmp_path):+ """L2L at k=1 skips the checkpoint machinery, so it may be faster than the+ shipped step with the same reads and the same arithmetic (smoke, SmolLM2:+ 10-20%). V2 compares loads and bytes per step; the time ratio is I6."""+ out = rule.evaluate(_write(tmp_path, timing=_timing(times={("l2l", "B", 1): 5.5})))+ assert out["validity"]["V2"]["ok"] is True+ assert out["info"]["I6"]["b"] == pytest.approx(5.5 / 6.43)+ assert out["verdict"] == "BUILD STEP 1"+++def test_v2_fails_when_l2l_k1_loads_differ_from_the_shipped_step(rule, tmp_path):+ def fewer(records):+ for rec in records:+ if (rec["mode"], rec["k"]) == ("l2l", 1):+ rec["layer_loads_per_step"] = 80.0++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[fewer])))+ assert out["validity"]["V2"]["ok"] is False+ for gate in ("G2", "G3", "G4"):+ assert out["gates"][gate]["status"] == "no verdict"+++def test_direct_io_off_removes_every_timing_gate(rule, tmp_path):+ out = rule.evaluate(_write(tmp_path, timing=_timing(direct_io=False)))+ assert out["validity"]["V1"]["ok"] is False+ assert out["gates"]["G2"]["status"] == "no verdict"+++def test_skipped_k16_removes_g2_to_g4(rule, tmp_path):+ def skip(records):+ for rec in records:+ if rec["k"] == 16:+ rec["skipped"] = "V3: free 12.0 GB < need 10.7 + 4.0 GB"+ rec["step_s_mean"] = None++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[skip])))+ for gate in ("G2", "G3", "G4"):+ assert out["gates"][gate]["status"] == "no verdict"+++def test_g1_uses_the_deterministic_rerun_when_a_vs_a_is_inexact(rule, tmp_path):+ out = rule.evaluate(+ _write(tmp_path, f1=_corr("F1", a_vs_a=False, l2l=False), f1_det=_corr("F1", det=True))+ )+ assert out["gates"]["G1"]["status"] == "pass"+++def test_g1_no_verdict_when_even_deterministic_is_inexact(rule, tmp_path):+ out = rule.evaluate(+ _write(tmp_path, f1=_corr("F1", a_vs_a=False), f1_det=_corr("F1", a_vs_a=False, det=True))+ )+ assert out["gates"]["G1"]["status"] == "no verdict"+++def test_g1_fails_when_l2l_differs_with_exact_a_vs_a(rule, tmp_path):+ out = rule.evaluate(_write(tmp_path, f2=_corr("F2", l2l=False)))+ assert out["gates"]["G1"]["status"] == "fail"+++def test_g1_fails_on_an_all_zero_gradient(rule, tmp_path):+ f1 = _corr("F1")+ f1["records"][0]["a_vs_a"]["all_zero"] = ["lora_A.x"]+ out = rule.evaluate(_write(tmp_path, f1=f1))+ assert out["gates"]["G1"]["status"] == "fail"+++def test_spill_ratio_is_informational(rule, tmp_path):+ spill = {+ "meta": {"direct_io": True},+ "records": [+ _arm("l2l", "A", 16, 0, 104.0, variant="pinned"),+ _arm("l2l", "A", 16, 1, 104.0, variant="pinned"),+ _arm("l2l", "A", 16, 0, 106.0, variant="spill"),+ _arm("l2l", "A", 16, 1, 106.0, variant="spill"),+ ],+ }+ out = rule.evaluate(_write(tmp_path, spill=spill))+ assert out["info"]["I4"]["ratio"] == pytest.approx(104.0 / 106.0)+ assert out["verdict"] == "BUILD STEP 1"+++def test_foreign_reader_on_a16_removes_g2_to_g4(rule, tmp_path):+ def heavy(records):+ for rec in records:+ if (rec["mode"], rec["arm"], rec["k"], rec["round"]) == ("l2l", "A", 16, 0):+ rec["foreign_readers"] = [+ {"pid": 4, "name": "SearchIndexer.exe", "read_bytes": 4_940_000_000}+ ]++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[heavy])))+ for gate in ("G2", "G3", "G4"):+ assert out["gates"][gate]["status"] == "no verdict", gate+ assert "SearchIndexer.exe" in out["gates"]["G2"]["detail"]+++def test_unknown_foreign_readers_do_not_void(rule, tmp_path):+ def unknown(records):+ for rec in records:+ rec["foreign_readers"] = None++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[unknown])))+ assert out["verdict"] == "BUILD STEP 1"+++# --------------------------------------------------------------------------+# l2l_probe — pure planning helpers (the GPU paths run in Task 7)+# --------------------------------------------------------------------------+def probe():+ return _load("l2l_probe")+++def test_timing_plan_interleaves_and_alternates(probe):+ plan = probe.plan_timing_arms([1, 2, 16], rounds=2, cd_k=4)+ r0 = [row for row in plan if row[0] == 0]+ r1 = [row for row in plan if row[0] == 1]+ assert r0[:2] == [(0, "plain", "A", 1), (0, "plain", "B", 1)]+ assert r1[:2] == [(1, "plain", "B", 1), (1, "plain", "A", 1)]+ assert [row[3] for row in r0 if row[1] == "l2l" and row[2] in "AB"] == [1, 1, 2, 2, 16, 16]+ assert [row[3] for row in r1 if row[1] == "l2l" and row[2] in "AB"] == [16, 16, 2, 2, 1, 1]+ assert [row[2] for row in r0 if row[1] == "l2l" and row[3] == 2] == ["A", "B"]+ assert [row[2] for row in r1 if row[1] == "l2l" and row[3] == 2] == ["B", "A"]+ assert r0[-2:] == [(0, "l2l", "C", 4), (0, "l2l", "D", 4)]+ assert r1[-2:] == [(1, "l2l", "D", 4), (1, "l2l", "C", 4)]+++def test_spill_plan_alternates(probe):+ assert probe.plan_spill_arms(2) == [(0, "pinned"), (0, "spill"), (1, "spill"), (1, "pinned")]+++def test_spill_layers_for_the_70b_shape(probe):+ assert probe.spill_layers_for(80, 16, 8) == 40+ assert probe.spill_layers_for(80, 8, 8) == 0+ with pytest.raises(ValueError):+ probe.spill_layers_for(80, 16, 0)+++def test_store_allocation_failure_becomes_a_skipped_arm(probe, monkeypatch):+ import torch++ calls = []++ def boom(**_kwargs):+ raise RuntimeError("CUDA error: out of memory")++ monkeypatch.setattr(probe.l2l_activations, "ActivationStore", boom)+ monkeypatch.setattr(probe, "_recover", lambda: calls.append("recovered"))+ store, reason = probe.allocate_store(+ n_layers=4, k=2, chunk_shape=(1, 8, 64), dtype=torch.float32, device="cpu", pin=False+ )+ assert store is None+ assert "out of memory" in reason+ assert calls == ["recovered"] # drain the stale error AND release the cached pinned blocks+++def test_observe_attaches_stamps_watch_and_foreign_readers(probe, monkeypatch):+ snaps = iter(+ [+ {1: {"name": "a.exe", "read": 0}},+ {1: {"name": "a.exe", "read": 2_000_000_000}},+ ]+ )+ monkeypatch.setattr(probe.l2l_box, "process_read_bytes", lambda: next(snaps))+ monkeypatch.setattr(probe.l2l_box, "box_stamp", lambda: {"unix": 0.0})+ result = probe.observe(lambda: {"step_s_mean": 1.0}, interval=0.01)+ assert result["step_s_mean"] == 1.0+ assert result["suspend"]["samples"] >= 2+ assert result["box_before"] == {"unix": 0.0} and result["box_after"] == {"unix": 0.0}+ assert result["foreign_readers"] == [{"pid": 1, "name": "a.exe", "read_bytes": 2_000_000_000}]+++@_NEEDS_IO_COUNTERS+def test_observe_stops_the_watch_when_the_body_raises(probe):+ with pytest.raises(ValueError, match="boom"):+ probe.observe(lambda: (_ for _ in ()).throw(ValueError("boom")), interval=0.01)+ assert not any(t.name == "l2l-suspend-watch" for t in threading.enumerate())+++def test_fits_in_ram_keeps_the_margin(probe):+ gib8 = 8 * 1024**3+ assert probe.fits_in_ram(gib8, free_gb=8.59 + 4.0 + 0.01) is True+ assert probe.fits_in_ram(gib8, free_gb=8.59 + 3.9) is False+ assert probe.fits_in_ram(gib8, free_gb=None) is False+++# --------------------------------------------------------------------------+# final-review fix pass (2026-10-02)+# --------------------------------------------------------------------------+def test_v2_ignores_timing_validity_of_the_k1_arms(rule, tmp_path):+ """I1: V2 is a loads/bytes identity. A 10% round spread on the shipped step+ voids that arm's time (V4), but no gate reads P1's time, so G2-G4 stand."""++ def spread(records):+ for rec in records:+ if (rec["mode"], rec["arm"], rec["round"]) == ("plain", "A", 1):+ rec["step_s_mean"] = 17.1 * 1.10++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[spread])))+ assert out["validity"]["V2"]["ok"] is True+ assert out["verdict"] == "BUILD STEP 1"+++def test_v2_fails_when_the_shipped_step_never_ran(rule, tmp_path):+ def skip(records):+ for rec in records:+ if rec["mode"] == "plain":+ rec["skipped"] = "never ran"+ rec["step_s_mean"] = None++ out = rule.evaluate(_write(tmp_path, timing=_timing(patch=[skip])))+ assert out["validity"]["V2"]["ok"] is False+ assert out["gates"]["G2"]["status"] == "no verdict"+++def _rec_file(*records):+ return {"meta": {}, "records": list(records)}+++def test_g1_no_verdict_when_the_deterministic_rerun_raised(rule, tmp_path):+ """I2: the probe writes no a_vs_a when deterministic mode raises."""+ det = _rec_file(+ {+ "kind": "correctness",+ "fixture": "F1",+ "k": 4,+ "deterministic": True,+ "deterministic_error": "an op does not have a deterministic implementation",+ }+ )+ out = rule.evaluate(_write(tmp_path, f1=_corr("F1", a_vs_a=False), f1_det=det))+ assert out["gates"]["G1"]["status"] == "no verdict"+ assert "deterministic" in out["gates"]["G1"]["detail"]+++def test_g1_no_verdict_on_an_empty_correctness_file(rule, tmp_path):+ """I2: a block that crashed leaves Sink's first flush, records == []."""+ out = rule.evaluate(_write(tmp_path, f2=_rec_file()))+ assert out["gates"]["G1"]["status"] == "no verdict"+++def test_g1_no_verdict_on_a_skipped_correctness_record(rule, tmp_path):+ reason = "activation store allocation failed: CUDA error: out of memory"+ skipped = _rec_file(+ {"kind": "correctness", "fixture": "F2", "k": 2, "deterministic": False, "skipped": reason}+ )+ out = rule.evaluate(_write(tmp_path, f2=skipped))+ assert out["gates"]["G1"]["status"] == "no verdict"+ assert "skipped" in out["gates"]["G1"]["detail"]+++def test_start_refusal_names_the_failing_row(probe):+ """I4: a block whose V1/V3 already fail at its start cannot reach a verdict."""+ v3_bad = {"ok": False, "ram_ok": False, "gpu_ok": True, "free_gb": 9.0, "need_gb": 10.7}+ assert probe.start_refusal("timing", v3_bad, True, "disk").startswith("V3")+ assert "V1" in probe.start_refusal("spill", {"ok": True}, False, "disk")+ assert probe.start_refusal("timing", {"ok": True}, True, "disk") is None+ assert probe.start_refusal("timing", {"ok": True}, None, "ram") is None+ assert probe.start_refusal("correctness", {"ok": False}, False, "disk") is None+++def test_close_survives_a_spill_file_held_by_another_process(acts, tmp_path, monkeypatch):+ """M2: an indexer or scanner holding the file must not crash the block."""+ store = _store(acts, tmp_path, spill_layers=1)++ def held(path):+ raise PermissionError(13, "The process cannot access the file", path)++ monkeypatch.setattr(acts.os, "remove", held)+ store.close()+ assert store.stats.spill_left_behind == str(tmp_path / "spill.bin")+++def test_release_arm_state_drops_the_zero_weight_cache_after_c_and_d(probe):+ """M3: the nodequant arms cache a zero weight per shape on the GPU (~1.1 GB on+ the 70B shape); later arms must not carry it."""++ class Inst:+ def __init__(self):+ self._zero_cache = {(1, 2): object()}++ for arm, emptied in (("A", False), ("B", False), ("C", True), ("D", True)):+ inst = Inst()+ probe.release_arm_state(inst, arm)+ assert (not inst._zero_cache) is emptied, arm+++def test_fits_in_ram_also_needs_commit(probe):+ """M4: pinned memory is charged against Windows commit as well."""+ gib8 = 8 * 1024**3+ assert probe.fits_in_ram(gib8, free_gb=20.0, commit_gb=10.0) is False+ assert probe.fits_in_ram(gib8, free_gb=20.0, commit_gb=13.0) is True+ assert probe.fits_in_ram(gib8, free_gb=20.0) is True+++def test_the_l2l_step_calls_each_layer_twice_per_micro_batch(sched, acts, streamed):+ """M9: one no-grad forward and one forward under grad per (layer, micro-batch).+ The wrapper's checkpoint left on would add a recompute: three calls, not two."""+ model, runtime = streamed+ mbs = _micro_batches(2)+ step = sched.L2LStep(model, runtime, sched.capture_layer_call(model, mbs[0]))+ calls = []+ original = runtime.prefetcher.advance++ def counting(idx):+ calls.append(idx)+ return original(idx)++ runtime.prefetcher.advance = counting+ try:+ step.run(mbs, _cpu_store(acts, 2))+ finally:+ runtime.prefetcher.advance = original+ assert len(calls) == 2 * 2 * 3