[Cookbook] Add DeepSeek-V4-Flash-Vision-Exp to the DeepSeek-V4 page (#37293)

This commit is contained in:
zijiexia
2026-08-31 14:52:28 -07:00
committed by GitHub
parent 2530204502
commit 88cf5c9541
8 changed files with 417 additions and 26 deletions
+9 -4
View File
@@ -80,6 +80,7 @@
// Legacy "Mean" data is being re-measured to P50; drop once done
// multiNodeHints optional — {[hwId]: string[]} prepended as `# ...` lines
// dockerImages optional — `docker run` image, keyed by
// `hw|variant|quant` then `variant|quant` then
// `hw|quant|strategy` then `hw|quant` then `hw`;
// falls back to `lmsysorg/sglang:dev`
// dockerHostNetworkWhen optional — `(selection, {flags, env}) => boolean`
@@ -780,11 +781,15 @@ export const Deployment = ({ config, benchmarks }) => {
let cmd;
if (mode === "docker") {
// Image keyed by `hw|quant|strategy` (most specific), then `hw|quant`,
// then `hw`; `:dev` if unmapped. The strategy key covers a tier that
// needs its own build (e.g. a spec-decoding preview image).
// Image keyed by `hw|variant|quant` (most specific), then `variant|quant`,
// then `hw|quant|strategy`, `hw|quant`, `hw`; `:dev` if unmapped. The
// variant keys cover a checkpoint that needs its own build (e.g. a
// new-variant preview image); the strategy key covers a tier that needs
// one (e.g. a spec-decoding preview image).
const di = config.dockerImages || {};
const image = di[`${sel.hw}|${sel.quant}|${sel.strategy}`]
const image = di[`${sel.hw}|${sel.variant}|${sel.quant}`]
|| di[`${sel.variant}|${sel.quant}`]
|| di[`${sel.hw}|${sel.quant}|${sel.strategy}`]
|| di[`${sel.hw}|${sel.quant}`] || di[sel.hw] || "lmsysorg/sglang:dev";
const dockerRunCommand = typeof config.dockerRunCommand === "function"
? config.dockerRunCommand(sel)