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$/, '');