File size: 1,653 Bytes
c7f2c56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Reproducing this specialist

Use Python 3.11+ with SQLite FTS5 to run `python build_data.py`. It rebuilds the local index and exact train and eval files from `data/specialist.toml`. The pinned reference URLs and source-content hashes in `data/sources.json` document the technical basis of the original notes. Retrieval during training searches only training references. The served index also contains the held-out references.

The GPUless v0.1 recipe uses the same packed Qwennifer Flash capture and native CPU optimizer as the Windows specialist. Set `inputs`, `flat_cache`, and `hot_experts_file` in a JSON settings file for the matching Belikewater Flash runtime. This run used `map_flat_cache: true`, `capture_cache_slots: 3072`, and one RTX 5090. The frozen Flash runner captures all reference-answer positions in one prefill per example.

```sh
python training/capture.py settings.json data/examples.jsonl features
export PYTHONPATH="$GPULESS_ROOT/src:$GPULESS_ROOT/labs/knowledge_strategies"
export GPULESS_NATIVE_LIB="$GPULESS_ROOT/build/lib/libgpuless.so"
export GPULESS_PTPU_LIB="$GPULESS_ROOT/build/lib/libptpu_lora.so"
OPENBLAS_NUM_THREADS=2 OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 CUDA_VISIBLE_DEVICES="" \
  "$GPULESS_ROOT/venv/bin/python" training/fit.py features data/examples.jsonl fit
```

The native rank-four optimizer changes the output head in 24 training-derived directions and up to 256 training-derived vocabulary rows. PEFT export expands the result into ordinary tensors. The portable config pins the public upstream base revision. The packed-coordinate identity is recorded separately in `release.json` and GPUless provenance.