From 2d7b416712a8b3eaf825429d7cef64bfc59e67f6 Mon Sep 17 00:00:00 2001 From: adibarra <93070681+adibarra@users.noreply.github.com> Date: Sat, 21 Mar 2026 18:13:29 -0500 Subject: [PATCH] =?UTF-8?q?fix=20hwToGpuKey=20missing=20-dgxc-slurm=20suff?= =?UTF-8?q?ix=20=E2=80=94=20silently=20dropped=20DGXC=20Slurm=20benchmark?= =?UTF-8?q?=20rows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/adding-entities.md | 2 +- packages/db/src/etl/normalizers.test.ts | 6 ++++++ packages/db/src/etl/normalizers.ts | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/adding-entities.md b/docs/adding-entities.md index 0d9fb9f..df13723 100644 --- a/docs/adding-entities.md +++ b/docs/adding-entities.md @@ -89,7 +89,7 @@ Present what you inferred and ask about anything not visible in artifacts: 4. What are the **cost rates** in $/GPU/hr? (hyperscaler, neocloud, 3-year rental) 5. Which **framework variants** will run on it? (e.g. `sglang`, `trt`, `dynamo-trt`, `vllm`, with/without `mtp`) 6. Where should it **sort** relative to existing GPUs in legends? -7. Are there any **new artifact suffixes** for this GPU beyond the existing ones (`-trt`, `-nv`, `-amds`, `-amd`, `-nvd`, `-nvs`, `-disagg`, `-multinode-slurm`, `-dgxc`, `-nb`)? +7. Are there any **new artifact suffixes** for this GPU beyond the existing ones (`-trt`, `-nv`, `-amds`, `-amd`, `-nvd`, `-nvs`, `-disagg`, `-multinode-slurm`, `-dgxc-slurm`, `-dgxc`, `-nb`)? 8. Do you have the **full hardware specs** for the GPU Specs tab? (memory GB, memory bandwidth TB/s, FP4/FP8/BF16 TFLOPS, interconnect tech, scale-up bandwidth, NIC model, scale-out topology) ### Then apply diff --git a/packages/db/src/etl/normalizers.test.ts b/packages/db/src/etl/normalizers.test.ts index aeec2f8..0301d55 100644 --- a/packages/db/src/etl/normalizers.test.ts +++ b/packages/db/src/etl/normalizers.test.ts @@ -58,6 +58,12 @@ describe('hwToGpuKey', () => { expect(hwToGpuKey('gb200-dgxc')).toBe('gb200'); }); + it('strips -dgxc-slurm suffix', () => { + expect(hwToGpuKey('b200-dgxc-slurm')).toBe('b200'); + expect(hwToGpuKey('h200-dgxc-slurm')).toBe('h200'); + expect(hwToGpuKey('h100-dgxc-slurm')).toBe('h100'); + }); + it('strips -nb suffix', () => { expect(hwToGpuKey('b300-nb')).toBe('b300'); }); diff --git a/packages/db/src/etl/normalizers.ts b/packages/db/src/etl/normalizers.ts index c4ddb49..bc7d2f0 100644 --- a/packages/db/src/etl/normalizers.ts +++ b/packages/db/src/etl/normalizers.ts @@ -31,6 +31,7 @@ export function hwToGpuKey(hw: string): string | null { .replace(/-amds$/, '') .replace(/-amd$/, '') .replace(/-nvd$/, '') + .replace(/-dgxc-slurm$/, '') .replace(/-dgxc$/, '') .replace(/-nb$/, '') .replace(/-nv$/, '');