Install failures
pipresolves an old wheel — pin:pip install "neuronscope>=0.9".- Manylinux mismatch on old distros — upgrade
pipto 23.1+ before installing. - Corporate proxy strips wheels — use
pip install --index-urlagainst your mirror.
shellfocus a line, then ⌘/Ctrl+C or Enterbash
pip install -U pippip install -U neuronscopeImport errors
CUDA and drivers
- Driver older than the CUDA toolkit — upgrade the driver, not the toolkit.
- Multiple CUDA installs on
LD_LIBRARY_PATH— setCUDA_HOMEexplicitly. - Mismatched PyTorch build — see the wheel matrix on requirements.
Hooks that never fire
The single most common recording bug: a probe selector matches zero modules. Verify:
shellfocus a line, then ⌘/Ctrl+C or Enterbash
python -c 'import neuronscope as ns; from transformers import AutoModel; m=AutoModel.from_pretrained("distilbert-base-uncased"); r=ns.Recorder(m, probes=[ns.probes.Activations("encoder.layer.*.output")]); print(r.selected_layers())'Filing a good bug report
Include the environment digest and a minimal reproducer.
shellfocus a line, then ⌘/Ctrl+C or Enterbash
ns doctor --json > report.json- Attach
report.json— it contains versions, seeds, and device info. - Include the shortest script that reproduces the failure and the full traceback.
- State expected vs. observed behavior explicitly.