# cmp170hx-kit: fuse-burned CMP 170HX 8 GB cards in a Gigabyte G292-Z20

*Русская версия: [README.ru.md](README.ru.md)*

Scripts, procedures and measurements from one working server: eight voltage-glitched, fuse-burned NVIDIA CMP 170HX
8 GB cards in a Gigabyte G292-Z20. After a cold power-on, with no manual steps, every card comes up with
**81920 MiB, PCIe 16 GT/s x16 and a 131072 MiB BAR1**, about 3.5 minutes after the power button.

This is a field report with the tooling attached. It was done on **one machine**. The installer has not been run
on a second server yet. Places we did not verify are marked "not verified" in the text.

## Warnings

- You can destroy a card or hang a server with what is described here. Everything is at your own risk.
- Fuse burning is irreversible. VBIOS flashing can leave a card unbootable.
- No ROM images and no NVIDIA utilities are distributed here.

## What is ours and what is not

The unlock method, the driver patches and the PCIe Gen4 method are other people's work:
amoghmunikote (cmpunlocker), darkmaniac7 (VFI tools, the 80 GB geometry patch, the Gen4 tools), g4bwy (vLLM patch
set for Qwen3.8-Flash-Next), polyuij42-del (VBIOS procedure), and the cmp.wiki community. See [THIRD_PARTY.md](THIRD_PARTY.md).

Our additions:

- Gen4 bring-up for all cards in parallel: about 35 s instead of 12-13 min for 8 cards.
- 128 GiB BAR1 on every card behind PCIe switches, done before the driver loads, on a stock kernel.
- Two fixes for the G292-Z20 (sticky AER on the switch ports, cards booting at Gen1).
- A per-SM test and a small tool that reads the memory vendor and geometry from the driver.
- A guarded wrapper around nvflash.
- vLLM measurements on burned cards, long-context tests, and a test of `--kv-offloading-size`.

## Results in short

| | Before the fuse burn | After |
|---|---|---|
| Memory per card | 64 GB (driver-limited) | 80 GB |
| SMs per card | 74 | 108-122 |
| PCIe | Gen2 x16 | Gen4 x16 |
| Qwen3.8-Flash-Next FP8, PP4, 1 stream | 105 tok/s | 134 tok/s |
| Same, 8 streams | 463 tok/s | 676 tok/s |
| KV pool on 4 cards (bf16) | 2.88M tokens | 4.79M tokens |

Return to an evicted 487k-token context: 22 s without KV offloading, 1.2-1.4 s with it.
Full numbers: [docs/08-results.md](docs/08-results.md).

## Map

| Document | Topic |
|---|---|
| [docs/01-driver-80gb.md](docs/01-driver-80gb.md) | driver 615.71.09, cmpunlocker, the 80 GB patch, our build changes |
| [docs/02-pcie-gen4-fast.md](docs/02-pcie-gen4-fast.md) | fast parallel Gen4 |
| [docs/03-bar1-128g.md](docs/03-bar1-128g.md) | BAR1 128 GiB |
| [docs/04-vbios-6d.md](docs/04-vbios-6d.md) | VBIOS 92.00.6D.00.0A: dump and flash |
| [docs/05-acceptance-tests.md](docs/05-acceptance-tests.md) | memory, SM and load tests |
| [docs/06-troubleshooting.md](docs/06-troubleshooting.md) | what to do when it breaks |
| [docs/07-vllm-qwen.md](docs/07-vllm-qwen.md) | vLLM build, parameters, measurements, KV offloading |
| [docs/08-results.md](docs/08-results.md) | the full report |
| [server/](server/) | installer, boot services, tools |
| [AGENTS.md](AGENTS.md) | instructions for AI agents working with this repository |

Every document has a Russian version next to it (`*.ru.md`).

## Unlocking the cards

The cards were unlocked with the voltage-glitch method using the community's open tools:
[dalzyu/pico-ga100vfi](https://github.com/dalzyu/pico-ga100vfi),
[darkmaniac7/cmp170hx-8gb-vfi-tools](https://github.com/darkmaniac7/cmp170hx-8gb-vfi-tools),
[sayhellotojungle/cmp170hx-ffcalc](https://github.com/sayhellotojungle/cmp170hx-ffcalc) and the write-ups on
[cmp.wiki](https://cmp.wiki). This repository does not describe that procedure; use the originals.
Our small changes to two of those tools are in `glitch/patches`.

## Quick start (server side)

Debian 13, the cards already burned and installed, UEFI boot, Above 4G decoding on:

```
cd server && sudo ./install.sh
# then a COLD power cycle through the BMC: power off, wait 20 s, power on
```

Read [docs/01](docs/01-driver-80gb.md) and the header of `install.sh` first. Checks are printed at the end.

## License

MIT for our files, see [LICENSE](LICENSE). Third-party files keep their licenses, see [THIRD_PARTY.md](THIRD_PARTY.md).
