server/

Everything that runs on the inference server. Read docs/ first; AGENTS.md if you are an AI agent.

Path What
install.sh installer: packages, patched module, services, kernel and module parameters. Step 2 is untested in its public form, see the header
cmpunlocker/cmpunlocker-local.patch our changes to cmpunlocker 2c7e2ec
sbin/ boot-time tools: BAR1 (cmp-bar1-boot, cmp-bar1set), Gen4 (cmp-pcie-fast, cmp-pcie-pre, cmp-gen4retrain-fast and darkmaniac7's set)
systemd/ cmp-bar1-boot.service, cmp-pcie-boot.service and drop-ins
modprobe/ hold file for nvidia, example of the per-device parameters
src/set_pcie_speed.c source of cmp-pcie-speed (built by install.sh)
tools/ acceptance tests: smtest.cu, fbinfo.c, fuses.py (read-only), wrappers for cuda_memtest and gpu_burn
vbios/ flash1.py, check_rom.py, SHA256SUMS. No ROM images, no nvflash
etc/ kernel version, package list and kernel command line of the machine this was taken from

Boot order after installation: cmp-bar1-boot (BAR1 on cards without a driver -> remove root ports -> rescan -> modprobe nvidia) -> nvidia-persistenced -> cmp-pcie-boot (cmp-pcie-fast) -> your services.

Flags in /var/lib/cmp-pcie-boot: no-bar1, off, off-g4, slow, disabled-<bus>, disabled-g4-<bus>. /etc/default/cmp-bar1: CMP_BAR1_GB=64|128.