{
  "what": "Public incidents with open-weight model releases, replayed through neurarch gate over the files the affected user ran.",
  "generatedBy": "scripts/incidents-page.ts",
  "cli": "neurarch 0.5.7",
  "counts": {
    "blocked": 9,
    "warned": 5,
    "missed": 2,
    "total": 16
  },
  "definitions": {
    "blocked": "refuse, and a high or blocking finding names the cause",
    "warned": "a finding names the cause, without a refusal on it",
    "missed": "no finding names the cause"
  },
  "incidents": [
    {
      "id": "jfrog-pickle-reverse-shell",
      "date": "2024-02-27",
      "class": "pickle",
      "title": "JFrog found PyTorch pickle models on the Hub that opened a reverse shell when loaded",
      "model": "star23/baller13",
      "sources": [
        {
          "url": "https://jfrog.com/blog/data-scientists-targeted-by-malicious-hugging-face-ml-models-with-silent-backdoor/",
          "title": "Data Scientists Targeted by Malicious Hugging Face ML Models with Silent Backdoor",
          "date": "2024-02-27"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "app.py": "from transformers import AutoModelForCausalLM\nmodel = AutoModelForCausalLM.from_pretrained(\"star23/baller13\")\n"
        },
        "args": [],
        "main": {
          "star23/baller13": "6bffdc4427b56fbfb000476811f919289d4d31f2"
        },
        "asOf": "2024-02-27"
      },
      "outcome": "warned",
      "verdict": "review",
      "exit": 0,
      "because": [
        "2 medium scan findings"
      ],
      "causeFindings": [
        {
          "at": "star23/baller13",
          "severity": "medium",
          "id": "weights-pickle-only",
          "text": "Weights are only in a pickle format (.bin/.pt); loading pickle can execute code (torch.load weights_only was bypassed in CVE-2025-32434, fixed in torch 2.6.0)."
        }
      ],
      "otherFindings": [
        {
          "at": "star23/baller13",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever star23/baller13 has on main that day."
        }
      ],
      "caughtBy": [
        "weights-pickle-only"
      ],
      "gap": null
    },
    {
      "id": "wizardlm-2-takedown",
      "date": "2024-04-16",
      "class": "removed",
      "title": "Microsoft removed WizardLM-2 from the Hub hours after release",
      "model": "microsoft/WizardLM-2-8x22B",
      "sources": [
        {
          "url": "https://huggingface.co/WizardLM/activity/posts",
          "title": "WizardLM post replies: removal and toxicity testing",
          "date": "2024-04-16"
        },
        {
          "url": "https://github.com/nlpxucan/WizardLM/issues/254",
          "title": "Mirrors of deleted WizardLM models",
          "date": "2024-04-17"
        },
        {
          "url": "https://404media.co/microsoft-deleted-its-llm-because-it-didnt-get-a-safety-test-but-now-its-everywhere",
          "title": "Microsoft Deleted Its LLM Because It Didn't Get a Safety Test, But Now It's Everywhere",
          "date": "2024-04-23"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "app.py": "from transformers import AutoModelForCausalLM\nmodel = AutoModelForCausalLM.from_pretrained(\"microsoft/WizardLM-2-8x22B\")\n"
        },
        "args": [],
        "main": {},
        "asOf": "2024-04-16"
      },
      "outcome": "warned",
      "verdict": "review",
      "exit": 0,
      "because": [
        "1 check could not be read"
      ],
      "causeFindings": [
        {
          "at": "microsoft/WizardLM-2-8x22B",
          "severity": "low",
          "id": "unreadable",
          "text": "The Hub did not answer for this id (private, gated without HF_TOKEN, renamed or deleted). A deleted author name can be re-registered by someone else; check who owns it now."
        }
      ],
      "otherFindings": [
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "1 model the Hub did not answer for (private, gated without HF_TOKEN, renamed, deleted, or the Hub was unreachable or rate-limiting): microsoft/WizardLM-2-8x22B. Nothing about it was checked."
        }
      ],
      "caughtBy": [
        "unreadable"
      ],
      "gap": null
    },
    {
      "id": "vllm-awq-on-v100",
      "date": "2024-04-19",
      "class": "launch",
      "title": "vLLM refused an AWQ checkpoint on a V100, which is below AWQ's minimum compute capability",
      "model": "Qwen/Qwen1.5-32B-Chat-AWQ",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/4202",
          "title": "[Bug]: The quantization method awq is not supported for the current GPU. Minimum capability: 75. Current capability: 70.",
          "date": "2024-04-19"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\npython -m vllm.entrypoints.openai.api_server --served-model-name Qwen1.5-32B-Chat-AWQ --model Qwen/Qwen1.5-32B-Chat-AWQ --max-model-len 512 --port 8001\n"
        },
        "args": [
          "--gpu",
          "v100",
          "--gpus",
          "1",
          "--vllm-version",
          "0.4.0"
        ],
        "main": {
          "Qwen/Qwen1.5-32B-Chat-AWQ": "e81b98270b82f4996af26486a3e99b27f91ffdec"
        },
        "asOf": "2024-04-19"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "2 launch blockers"
      ],
      "causeFindings": [
        {
          "at": "serve.sh",
          "severity": "block",
          "id": "quant-unsupported",
          "text": "awq needs sm75 on vLLM v0.11.0; V100 (16 GB) is sm70"
        }
      ],
      "otherFindings": [
        {
          "at": "Qwen/Qwen1.5-32B-Chat-AWQ",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever Qwen/Qwen1.5-32B-Chat-AWQ has on main that day."
        },
        {
          "at": "serve.sh",
          "severity": "block",
          "id": "weights-over-budget",
          "text": "Weights alone are 18.22 GiB per GPU after TP 1, over the 13.99 GiB budget"
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "What later engine releases changed: the engine release record could not be read."
        }
      ],
      "caughtBy": [
        "quant-unsupported"
      ],
      "gap": null
    },
    {
      "id": "vllm-fp8-on-a6000",
      "date": "2024-04-24",
      "class": "launch",
      "title": "vLLM 0.4.1 refused fp8 quantization of Llama 3 70B on RTX A6000 cards",
      "model": "meta-llama/Meta-Llama-3-70B-Instruct",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/4327",
          "title": "[Bug]: ValueError: The quantization method fp8 is not supported for the current GPU. Minimum capability: 90. Current capability: 86",
          "date": "2024-04-24"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\npython -O -u -m vllm.entrypoints.openai.api_server --host=127.0.0.1 --port=8090 --model=NousResearch/Meta-Llama-3-70B-Instruct --tensor-parallel-size=4 --quantization fp8 --dtype half\n"
        },
        "args": [
          "--gpu",
          "a40",
          "--gpus",
          "4",
          "--vllm-version",
          "0.4.1"
        ],
        "main": {
          "NousResearch/Meta-Llama-3-70B-Instruct": "7e1b5532f5f974e32703e6fb284cd0e06563ccbb"
        },
        "asOf": "2024-04-24"
      },
      "outcome": "warned",
      "verdict": "review",
      "exit": 0,
      "because": [
        "1 medium scan finding",
        "1 launch warning"
      ],
      "causeFindings": [
        {
          "at": "serve.sh",
          "severity": "warn",
          "id": "quant-fallback",
          "text": "fp8 on A40 (48 GB) (sm86) is not native: it runs on a fallback kernel"
        }
      ],
      "otherFindings": [
        {
          "at": "NousResearch/Meta-Llama-3-70B-Instruct",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever NousResearch/Meta-Llama-3-70B-Instruct has on main that day."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "What later engine releases changed: the engine release record could not be read."
        }
      ],
      "caughtBy": [
        "quant-unsupported",
        "quant-fallback"
      ],
      "gap": null
    },
    {
      "id": "phi-3-mini-128k-longrope-rename",
      "date": "2024-07-01",
      "class": "config",
      "title": "Phi-3-mini-128k-instruct renamed its rope scaling type and replaced its weights under the same id",
      "model": "microsoft/Phi-3-mini-128k-instruct",
      "sources": [
        {
          "url": "https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/commit/10d25dfa1593265daf4a3bac573ab76ccf61d60f",
          "title": "Update model (#84)",
          "date": "2024-07-01"
        },
        {
          "url": "https://github.com/huggingface/text-generation-inference/issues/2172",
          "title": "Phi-3's new rope scaling type `longrope` not supported",
          "date": "2024-07-02"
        },
        {
          "url": "https://huggingface.co/microsoft/Phi-3-mini-128k-instruct/discussions/88",
          "title": "Support for longrope implementation in llama.cpp",
          "date": "2024-07-03"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\n# the TGI launch from the issue, pinned to the revision the team had running\ndocker run --gpus all --shm-size 1g -p 8080:80 -v /data:/data ghcr.io/huggingface/text-generation-inference:2.1.0 --model-id microsoft/Phi-3-mini-128k-instruct --revision bb5bf1e4001277a606e11debca0ef80323e5f824\n"
        },
        "args": [],
        "main": {
          "microsoft/Phi-3-mini-128k-instruct": "d548c233192db00165d842bf8edff054bb3212f8"
        },
        "asOf": "2024-07-01"
      },
      "outcome": "missed",
      "verdict": "review",
      "exit": 0,
      "because": [
        "1 check could not be read"
      ],
      "causeFindings": [],
      "otherFindings": [
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "Whether the Text Generation Inference launch `ghcr.io/huggingface/text-generation-inference:2.1.0` (serve.sh:3) starts and fits: TGI is not modelled (its repository is archived)."
        }
      ],
      "caughtBy": [
        "files-changed",
        "weights-changed",
        "remote-code-changed",
        "upstream-structural"
      ],
      "gap": "The scan does not read a model from a TGI docker run line (--model-id), so nothing about the repository was checked, and TGI launches are listed as not modelled. A pinned from_pretrained or vllm serve of the same id would have been compared with main. TGI is archived upstream; not planned."
    },
    {
      "id": "llama-3-1-rope-type-llama3",
      "date": "2024-07-23",
      "class": "config",
      "title": "Llama 3.1's new rope_scaling block failed to load on vLLM before 0.5.3.post1",
      "model": "meta-llama/Llama-3.1-8B-Instruct",
      "sources": [
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct/commit/91e702621d649240f67086276478556294b22eeb",
          "title": "Update config.json",
          "date": "2024-07-23"
        },
        {
          "url": "https://github.com/vllm-project/vllm/issues/6689",
          "title": "[Model] Meta Llama 3.1 Know Issues & FAQ",
          "date": "2024-07-23"
        },
        {
          "url": "https://github.com/vllm-project/vllm/issues/6692",
          "title": "[Model] Meta Llama 3.1 vllm use",
          "date": "2024-07-23"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "requirements.txt": "vllm==0.5.2\n",
          "serve.sh": "#!/bin/sh\nvllm serve meta-llama/Llama-3.1-8B-Instruct --max-model-len 8192\n"
        },
        "args": [
          "--vllm-version",
          "0.5.2"
        ],
        "main": {
          "meta-llama/Llama-3.1-8B-Instruct": "4281e96c7cf5ab6b312ef0cb78373efa3976a9dd"
        },
        "asOf": "2024-07-23"
      },
      "outcome": "warned",
      "verdict": "review",
      "exit": 0,
      "because": [
        "1 medium scan finding",
        "1 launch warning"
      ],
      "causeFindings": [
        {
          "at": "serve.sh",
          "severity": "warn",
          "id": "recipe-min-version",
          "text": "The vLLM recipe for meta-llama/Llama-3.1-8B-Instruct needs vLLM 0.6.0; this launch assumes vLLM 0.5.2"
        }
      ],
      "otherFindings": [
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "low",
          "id": "upstream-history",
          "text": "3 recorded upstream changes to meta-llama/Llama-3.1-8B-Instruct; the latest, 2024-07-23: Llama-3.1-8B-Instruct: rope_scaling added ({\"factor\":8,\"high_freq_factor\":4,\"low_freq_factor\":1,\"ori...); positions are now scaled (2024-07-23)."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever meta-llama/Llama-3.1-8B-Instruct has on main that day."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "What later engine releases changed: the engine release record could not be read."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "Whether 1 launch fits the GPU (memory, the smallest card): no card was given. Pass --gpu <card> (and --gpus N). Its layout, context and quantization were checked."
        }
      ],
      "caughtBy": [
        "recipe-min-version"
      ],
      "gap": null
    },
    {
      "id": "llama-3-1-template-generation-prompt",
      "date": "2024-07-25",
      "class": "template",
      "title": "Llama 3.1 8B Instruct's release template always added an assistant header",
      "model": "meta-llama/Llama-3.1-8B-Instruct",
      "sources": [
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct/discussions/44",
          "title": "BUG Chat template doesn't respect `add_generation_prompt`flag from transformers tokenizer",
          "date": "2024-07-25"
        },
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct/discussions/53",
          "title": "Update chat template",
          "date": "2024-07-26"
        },
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct/commit/b2a4d0f33b41fcd59a6d31662cc63b8d53367e1e",
          "title": "Update chat template (#53)",
          "date": "2024-07-29"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "prepare_sft.py": "from transformers import AutoTokenizer\n# pinned to the release upload\ntok = AutoTokenizer.from_pretrained(\"meta-llama/Llama-3.1-8B-Instruct\", revision=\"bedbcc3b91b656331bf7569fa6661dad0cec360f\")\n"
        },
        "args": [],
        "main": {
          "meta-llama/Llama-3.1-8B-Instruct": "b2a4d0f33b41fcd59a6d31662cc63b8d53367e1e"
        },
        "asOf": "2024-07-29"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "4 high scan findings"
      ],
      "causeFindings": [
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "high",
          "id": "template-render-changed",
          "text": "The chat template at main renders a different prompt than at your pin (system, multi-turn or tool-call conversation)."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "high",
          "id": "upstream-template",
          "text": "Llama-3.1-8B-Instruct: the chat template changed and renders differently (system+user, multi-turn, tool-call); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2024-07-29)."
        }
      ],
      "otherFindings": [
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "high",
          "id": "upstream-tokenizer",
          "text": "Llama-3.1-8B-Instruct: EOS stop list [128001,128009] to [128001,128008,128009]; generation now also stops on 128008, and still stops on every token it stopped on before (2024-07-18)."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "high",
          "id": "upstream-tokenizer",
          "text": "Llama-3.1-8B-Instruct: config.json eos_token_id [128001,128009] to [128001,128008,128009], but generation_config.json still declares [128001,128008,128009], which generate() reads first, so default generation stops on the same tokens; only code that reads config.eos_token_id directly sees the new value (2024-07-18)."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "medium",
          "id": "files-changed",
          "text": "Changed since your pin: special_tokens_map.json, tokenizer.json, tokenizer_config.json, original/tokenizer.model +2."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "medium",
          "id": "upstream-structural",
          "text": "Llama-3.1-8B-Instruct: rope_scaling added ({\"factor\":8,\"high_freq_factor\":4,\"low_freq_factor\":1,\"ori...); positions are now scaled (2024-07-23)."
        },
        {
          "at": "meta-llama/Llama-3.1-8B-Instruct",
          "severity": "medium",
          "id": "licence-file-changed",
          "text": "The licence text changed since your pin (LICENSE, USE_POLICY.md). Read it before moving the pin."
        }
      ],
      "caughtBy": [
        "template-render-changed",
        "upstream-template",
        "prompt-differs"
      ],
      "gap": null
    },
    {
      "id": "llama-3-1-405b-fp8-kv-heads",
      "date": "2024-08-16",
      "class": "weights",
      "title": "Llama-3.1-405B-Instruct-FP8 changed num_key_value_heads from 16 to 8 and replaced 105 of 109 shards",
      "model": "meta-llama/Llama-3.1-405B-Instruct-FP8",
      "sources": [
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct-FP8/discussions/13",
          "title": "8 kv heads",
          "date": "2024-08-05"
        },
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct-FP8/discussions/14",
          "title": "8-kv-heads",
          "date": "2024-08-09"
        },
        {
          "url": "https://huggingface.co/meta-llama/Llama-3.1-405B-Instruct-FP8/commit/b9d3de62735f931b9d2431887e665dd72532092c",
          "title": "8-kv-heads (#14)",
          "date": "2024-08-16"
        },
        {
          "url": "https://github.com/vllm-project/vllm/issues/6689",
          "title": "[Model] Meta Llama 3.1 Know Issues & FAQ",
          "date": "2024-07-23"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\n# pinned to the release upload\nvllm serve meta-llama/Llama-3.1-405B-Instruct-FP8 --revision 3ba007be16565df6fbf1303bdbe6d6c1aa61e556 --tensor-parallel-size 8 --max-model-len 8192\n"
        },
        "args": [
          "--gpu",
          "h100",
          "--gpus",
          "8"
        ],
        "main": {
          "meta-llama/Llama-3.1-405B-Instruct-FP8": "b9d3de62735f931b9d2431887e665dd72532092c"
        },
        "asOf": "2024-08-16"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "2 high scan findings"
      ],
      "causeFindings": [
        {
          "at": "meta-llama/Llama-3.1-405B-Instruct-FP8",
          "severity": "high",
          "id": "weights-changed",
          "text": "Weight files differ between your pin and main: model-00001-of-00109.safetensors, model-00003-of-00109.safetensors, model-00004-of-00109.safetensors, model-00005-of-00109.safetensors +101. Moving the pin loads different weights under the same name."
        },
        {
          "at": "meta-llama/Llama-3.1-405B-Instruct-FP8",
          "severity": "medium",
          "id": "files-changed",
          "text": "Changed since your pin: tokenizer.json, tokenizer_config.json, config.json."
        }
      ],
      "otherFindings": [
        {
          "at": "meta-llama/Llama-3.1-405B-Instruct-FP8",
          "severity": "high",
          "id": "template-render-changed",
          "text": "The chat template at main renders a different prompt than at your pin (system, multi-turn or tool-call conversation)."
        },
        {
          "at": "serve.sh",
          "severity": "warn",
          "id": "weights-vs-checkpoint",
          "text": "Weights read from config.json come to 414.3 GB; the checkpoint itself is 495.7 GB (-16%): memory below uses the checkpoint's size"
        }
      ],
      "caughtBy": [
        "weights-changed",
        "files-changed",
        "upstream-structural"
      ],
      "gap": null
    },
    {
      "id": "reflection-70b-reupload",
      "date": "2024-09-06",
      "class": "weights",
      "title": "Reflection-Llama-3.1-70B replaced all 162 weight shards and its config a day after release",
      "model": "mattshumer/Reflection-Llama-3.1-70B",
      "sources": [
        {
          "url": "https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B/commit/2d5b978a1770d00bdf3c7de96f3112d571deeb75",
          "title": "Upload config.json with huggingface_hub",
          "date": "2024-09-06"
        },
        {
          "url": "https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B/discussions/20",
          "title": "Meta-Llama-3-70B-Instruct or Meta-Llama-3.1-70B-Instruct ?",
          "date": "2024-09-06"
        },
        {
          "url": "https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B/discussions/153",
          "title": "It looks the model is in 8K context length. May I ask why context length of Llama3.1 is 128K",
          "date": "2024-09-12"
        },
        {
          "url": "https://huggingface.co/mattshumer/Reflection-Llama-3.1-70B/commit/a376762159d10b8077c6a162ebd2f72267fe8a2f",
          "title": "update model card to reflect the non-reproducibility of benchmark (#154)",
          "date": "2024-09-24"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\n# pinned to the upload the team evaluated (2024-09-05)\nvllm serve mattshumer/Reflection-Llama-3.1-70B --revision e7bfef9796a12f8cd072ba3b955cdf48854123e0 --tensor-parallel-size 4 --max-model-len 8192\n"
        },
        "args": [
          "--gpu",
          "a100-80g",
          "--gpus",
          "4"
        ],
        "main": {
          "mattshumer/Reflection-Llama-3.1-70B": "458962ed801fac4eadd01a91a2029a3a82f4cd84"
        },
        "asOf": "2024-09-06"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "2 high scan findings"
      ],
      "causeFindings": [
        {
          "at": "mattshumer/Reflection-Llama-3.1-70B",
          "severity": "high",
          "id": "weights-changed",
          "text": "Weight files differ between your pin and main: model-00001-of-00162.safetensors, model-00002-of-00162.safetensors, model-00003-of-00162.safetensors, model-00004-of-00162.safetensors +158. Moving the pin loads different weights under the same name."
        },
        {
          "at": "mattshumer/Reflection-Llama-3.1-70B",
          "severity": "medium",
          "id": "files-changed",
          "text": "Changed since your pin: special_tokens_map.json, tokenizer.json, tokenizer_config.json, config.json +1."
        }
      ],
      "otherFindings": [
        {
          "at": "mattshumer/Reflection-Llama-3.1-70B",
          "severity": "high",
          "id": "template-render-changed",
          "text": "The chat template at main renders a different prompt than at your pin (system, multi-turn or tool-call conversation)."
        }
      ],
      "caughtBy": [
        "weights-changed",
        "files-changed",
        "upstream-structural"
      ],
      "gap": null
    },
    {
      "id": "vllm-lora-rslora-ignored",
      "date": "2024-11-30",
      "class": "adapter",
      "title": "vLLM served an rsLoRA adapter with the plain LoRA scale, and its answers did not match PEFT",
      "model": "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/10798",
          "title": "[Bug]: LoRa adapter responses not matching peft/transformers response",
          "date": "2024-11-30"
        },
        {
          "url": "https://huggingface.co/Trelis/Qwen2.5-7B-Instruct-touch-rugby-1/commit/6d992103fce2191003a64967ad85ff1555203843",
          "title": "swap rslora to false to. avoid vllm issues",
          "date": "2024-12-05"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\nvllm serve Qwen/Qwen2.5-7B-Instruct --max-model-len 8192 --enable-lora --max-lora-rank 8 --port 8000 --lora-modules touch-rugby-1=Trelis/Qwen2.5-7B-Instruct-touch-rugby-1\n"
        },
        "args": [
          "--gpu",
          "a40",
          "--gpus",
          "1",
          "--vllm-version",
          "0.6.4"
        ],
        "main": {
          "Qwen/Qwen2.5-7B-Instruct": "bb46c15ee4bb56c5b63245ef50fd7637234d6f75",
          "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1": "b55f854a32eec229f1d5d806435ddb4903573c47"
        },
        "asOf": "2024-11-30"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "1 high scan finding"
      ],
      "causeFindings": [
        {
          "at": "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1",
          "severity": "high",
          "id": "adapter-rslora",
          "text": "adapter_config.json sets use_rslora, so PEFT scales the update by lora_alpha / sqrt(r); an engine that ignores it scales by lora_alpha / r and serves different output with no error. vLLM 0.6.4 ignores use_rslora: rsLoRA scaling is applied from vLLM 0.7.0."
        }
      ],
      "otherFindings": [
        {
          "at": "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1",
          "severity": "medium",
          "id": "adapter-base-differs",
          "text": "adapter_config.json says this adapter was trained on unsloth/Qwen2.5-7B-Instruct; this file serves it on Qwen/Qwen2.5-7B-Instruct."
        },
        {
          "at": "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever Trelis/Qwen2.5-7B-Instruct-touch-rugby-1 has on main that day."
        },
        {
          "at": "Trelis/Qwen2.5-7B-Instruct-touch-rugby-1",
          "severity": "low",
          "id": "adapter-base-unpinned",
          "text": "The adapter's config names its base (unsloth/Qwen2.5-7B-Instruct) without a commit, so nothing records which revision it was trained against."
        },
        {
          "at": "Qwen/Qwen2.5-7B-Instruct",
          "severity": "low",
          "id": "upstream-history",
          "text": "4 recorded upstream changes to Qwen/Qwen2.5-7B-Instruct; the latest, 2024-09-19: Qwen2.5-7B-Instruct: the chat template changed and renders differently (tool-call, tool-call-parts); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2024-09-19)."
        },
        {
          "at": "Qwen/Qwen2.5-7B-Instruct",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever Qwen/Qwen2.5-7B-Instruct has on main that day."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "What later engine releases changed: the engine release record could not be read."
        }
      ],
      "caughtBy": [
        "adapter-rslora"
      ],
      "gap": null
    },
    {
      "id": "vllm-tp6-llama-3-1-70b",
      "date": "2024-12-12",
      "class": "launch",
      "title": "Tensor parallel 6 on Llama 3.1 70B failed: 64 attention heads do not divide by 6",
      "model": "meta-llama/Llama-3.1-70B-Instruct",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/11147",
          "title": "[Usage]: How can I use 6 GPU's?",
          "date": "2024-12-12"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "run.py": "from vllm import LLM\n\nmodel_id = \"meta-llama/Llama-3.1-70B-Instruct\"\nnumber_gpus = 6\nmax_model_len = 8192\nllm = LLM(model=model_id, tensor_parallel_size=number_gpus, max_model_len=max_model_len)\n"
        },
        "args": [
          "--gpu",
          "a40",
          "--gpus",
          "6"
        ],
        "main": {
          "meta-llama/Llama-3.1-70B-Instruct": "945c8663693130f8be2ee66210e062158b2a9693"
        },
        "asOf": "2024-12-12"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "3 launch blockers"
      ],
      "causeFindings": [
        {
          "at": "run.py",
          "severity": "block",
          "id": "tp-heads",
          "text": "TP 6 does not divide 64 attention heads"
        }
      ],
      "otherFindings": [
        {
          "at": "meta-llama/Llama-3.1-70B-Instruct",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever meta-llama/Llama-3.1-70B-Instruct has on main that day."
        },
        {
          "at": "run.py",
          "severity": "block",
          "id": "tp-kv-heads",
          "text": "TP 6 neither divides nor is a multiple of 8 KV heads"
        },
        {
          "at": "run.py",
          "severity": "block",
          "id": "tp-ffn",
          "text": "TP 6 does not divide the FFN width 28672"
        }
      ],
      "caughtBy": [
        "tp-heads"
      ],
      "gap": null
    },
    {
      "id": "reversinglabs-nullifai",
      "date": "2025-02-06",
      "class": "pickle",
      "title": "ReversingLabs found pickle models with a reverse shell that Picklescan did not flag",
      "model": "glockr1/ballr7",
      "sources": [
        {
          "url": "https://www.reversinglabs.com/blog/rl-identifies-malware-ml-model-hosted-on-hugging-face",
          "title": "ReversingLabs: malware in ML models hosted on Hugging Face (nullifAI)",
          "date": "2025-02-06"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "app.py": "from transformers import AutoModelForCausalLM\nmodel = AutoModelForCausalLM.from_pretrained(\"glockr1/ballr7\")\n"
        },
        "args": [],
        "main": {
          "glockr1/ballr7": "2f74381aea4d7173a4db9dbdf36fe84fd4347a37"
        },
        "asOf": "2025-02-06"
      },
      "outcome": "warned",
      "verdict": "review",
      "exit": 0,
      "because": [
        "2 medium scan findings"
      ],
      "causeFindings": [
        {
          "at": "glockr1/ballr7",
          "severity": "medium",
          "id": "weights-pickle-only",
          "text": "Weights are only in a pickle format (.bin/.pt); loading pickle can execute code (torch.load weights_only was bypassed in CVE-2025-32434, fixed in torch 2.6.0)."
        }
      ],
      "otherFindings": [
        {
          "at": "glockr1/ballr7",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever glockr1/ballr7 has on main that day."
        }
      ],
      "caughtBy": [
        "weights-pickle-only"
      ],
      "gap": null
    },
    {
      "id": "deepseek-r1-think-prefill",
      "date": "2025-02-09",
      "class": "template",
      "title": "DeepSeek-R1 moved <think> into its chat template, and responses stopped opening with it",
      "model": "deepseek-ai/DeepSeek-R1",
      "sources": [
        {
          "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1/commit/8a58a132790c9935686eb97f042afa8013451c9f",
          "title": "Update tokenizer_config.json",
          "date": "2025-02-09"
        },
        {
          "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1/discussions/144",
          "title": "Adding <think>\\n after chat template will cause vllm to not return reasoning_content (null) when reasoning",
          "date": "2025-02-13"
        },
        {
          "url": "https://huggingface.co/deepseek-ai/DeepSeek-R1/discussions/181",
          "title": "Regression in Reasoning Tag Output - Missing <think> in Model Responses",
          "date": "2025-03-02"
        },
        {
          "url": "https://github.com/open-webui/open-webui/issues/9808",
          "title": "Deepseek-R1 Missing <think> Tag in Response",
          "date": "2025-02-11"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "app.py": "from transformers import AutoTokenizer\n# pinned to the revision the team tested (the head on 2025-02-01)\ntok = AutoTokenizer.from_pretrained(\"deepseek-ai/DeepSeek-R1\", revision=\"f7361cd9ff99396dbf6bd644ad846015e59ed4fc\")\n"
        },
        "args": [],
        "main": {
          "deepseek-ai/DeepSeek-R1": "8a58a132790c9935686eb97f042afa8013451c9f"
        },
        "asOf": "2025-02-09"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "2 high scan findings"
      ],
      "causeFindings": [
        {
          "at": "deepseek-ai/DeepSeek-R1",
          "severity": "high",
          "id": "template-render-changed",
          "text": "The chat template at main renders a different prompt than at your pin (system, multi-turn or tool-call conversation)."
        },
        {
          "at": "deepseek-ai/DeepSeek-R1",
          "severity": "high",
          "id": "upstream-template",
          "text": "DeepSeek-R1: the chat template changed and renders differently (system+user, multi-turn); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2025-02-09)."
        }
      ],
      "otherFindings": [
        {
          "at": "deepseek-ai/DeepSeek-R1",
          "severity": "medium",
          "id": "files-changed",
          "text": "Changed since your pin: tokenizer_config.json."
        }
      ],
      "caughtBy": [
        "template-render-changed",
        "upstream-template",
        "prompt-differs"
      ],
      "gap": null
    },
    {
      "id": "vllm-kv-cache-gemma-3-27b-awq-24gb",
      "date": "2025-04-07",
      "class": "launch",
      "title": "A 27B AWQ Gemma 3 on a 24 GB card left room for 3,584 tokens of KV cache, under the 4,096 asked for",
      "model": "gaunernst/gemma-3-27b-it-int4-awq",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/16199",
          "title": "[Bug]: OOM when serve  Gemma3-AWQ",
          "date": "2025-04-07"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\nVLLM_USE_V1=0 vllm serve gaunernst/gemma-3-27b-it-int4-awq --max-model-len 4096 --gpu-memory-utilization 0.98 --distributed-executor-backend ray --dtype float16\n"
        },
        "args": [
          "--gpu",
          "l4",
          "--gpus",
          "1",
          "--vllm-version",
          "0.8.3"
        ],
        "main": {
          "gaunernst/gemma-3-27b-it-int4-awq": "7cf8bdc81343c635390dd1e1bf590ab22dd6f366"
        },
        "asOf": "2025-04-07"
      },
      "outcome": "missed",
      "verdict": "review",
      "exit": 0,
      "because": [
        "1 medium scan finding",
        "1 check could not be read"
      ],
      "causeFindings": [],
      "otherFindings": [
        {
          "at": "gaunernst/gemma-3-27b-it-int4-awq",
          "severity": "medium",
          "id": "unpinned",
          "text": "Not pinned to a commit: every run loads whatever gaunernst/gemma-3-27b-it-int4-awq has on main that day."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "What later engine releases changed: the engine release record could not be read."
        },
        {
          "at": "",
          "severity": "unread",
          "id": "not-checked",
          "text": "`VLLM_USE_V1=0` on `VLLM_USE_V1=0 vllm serve gaunernst/gemma-3-27b-it-int4-awq --max-model-len 4096 ` (serve.sh): VLLM_USE_V1=0 selects vLLM's V0 engine. The check models V1, and V0 sizes the KV cache and profiles memory differently (it has no separate pool for sliding-window layers), so the memory and KV capacity predictions were not made."
        }
      ],
      "caughtBy": [
        "kv-capacity",
        "kv-under-one-sequence",
        "seqs-over-capacity",
        "memory-over-card",
        "weights-over-budget"
      ],
      "gap": "The launch is now read with its environment, and VLLM_USE_V1=0 selects vLLM's V0 engine, which the check does not model: the gate lists the KV prediction as not checked and holds the verdict at review instead of passing it. It does not predict the V0 cache. Run without the prefix, serve-check models the V1 engine's sliding-window pool, predicts 8,544 KV tokens and passes, with the weights at 16.06 GiB where this V0 run logged 17.61 GiB and 3,584 tokens."
    },
    {
      "id": "gpt-oss-20b-call-eos",
      "date": "2025-08-13",
      "class": "generation-config",
      "title": "gpt-oss-20b did not stop on <|call|> until generation_config.json was fixed a week after release",
      "model": "openai/gpt-oss-20b",
      "sources": [
        {
          "url": "https://huggingface.co/openai/gpt-oss-120b/discussions/69",
          "title": "Errors in chat template compared to spec",
          "date": "2025-08-07"
        },
        {
          "url": "https://huggingface.co/openai/gpt-oss-20b/discussions/109",
          "title": "Configure `<|call|>` as an EOS token",
          "date": "2025-08-11"
        },
        {
          "url": "https://huggingface.co/openai/gpt-oss-20b/commit/d666cf3b67006cf8227666739edf25164aaffdeb",
          "title": "Configure `<|call|>` as an EOS token (#109)",
          "date": "2025-08-13"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.py": "from transformers import AutoModelForCausalLM\n# pinned to the last commit before the EOS fix\nmodel = AutoModelForCausalLM.from_pretrained(\"openai/gpt-oss-20b\", revision=\"f81fef1ddd90d214968e951a76834f1ded130a18\")\n"
        },
        "args": [],
        "main": {
          "openai/gpt-oss-20b": "d666cf3b67006cf8227666739edf25164aaffdeb"
        },
        "asOf": "2025-08-13"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "5 high scan findings"
      ],
      "causeFindings": [
        {
          "at": "openai/gpt-oss-20b",
          "severity": "high",
          "id": "upstream-tokenizer",
          "text": "gpt-oss-20b: EOS stop list [200002,199999] to [200002,199999,200012]; generation now also stops on 200012, and still stops on every token it stopped on before (2025-08-13)."
        },
        {
          "at": "openai/gpt-oss-20b",
          "severity": "medium",
          "id": "files-changed",
          "text": "Changed since your pin: chat_template.jinja, chat_template.json, generation_config.json."
        }
      ],
      "otherFindings": [
        {
          "at": "openai/gpt-oss-20b",
          "severity": "high",
          "id": "template-render-changed",
          "text": "The chat template at main renders a different prompt than at your pin (system, multi-turn or tool-call conversation)."
        },
        {
          "at": "openai/gpt-oss-20b",
          "severity": "high",
          "id": "upstream-template",
          "text": "gpt-oss-20b: the chat template changed and renders differently (system+user, multi-turn); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2025-08-05)."
        },
        {
          "at": "openai/gpt-oss-20b",
          "severity": "high",
          "id": "upstream-template",
          "text": "gpt-oss-20b: the chat template changed and renders differently (tool-call, tool-call-parts); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2025-08-07)."
        },
        {
          "at": "openai/gpt-oss-20b",
          "severity": "high",
          "id": "upstream-template",
          "text": "gpt-oss-20b: the chat template changed and renders differently (system+user, tool-call, tool-call-parts); prompts rendered with the old one no longer match what the model now expects, so cached prompts and eval sets need re-rendering (2025-08-08)."
        },
        {
          "at": "openai/gpt-oss-20b",
          "severity": "medium",
          "id": "licence-file-changed",
          "text": "The licence text changed since your pin (LICENSE). Read it before moving the pin."
        }
      ],
      "caughtBy": [
        "upstream-tokenizer",
        "files-changed"
      ],
      "gap": null
    },
    {
      "id": "vllm-nvfp4-tp8-split-scale-group",
      "date": "2026-11-07",
      "class": "launch",
      "title": "NVFP4 Gemma 4 at tensor parallel 8 loaded with no error and answered 1.4% of GSM8K: the split cut its 16-wide scale groups",
      "model": "RedHatAI/gemma-4-26B-A4B-it-NVFP4",
      "sources": [
        {
          "url": "https://github.com/vllm-project/vllm/issues/66211",
          "title": "[Bug]: Compressed-tensors NVFP4/MXFP4 row-parallel layers load with other groups' block scales when the TP split cuts a scale group (Gemma-4-26B-A4B NVFP4 at TP=8: GSM8K 24% -> 1.4%)",
          "date": "2026-11-07"
        },
        {
          "url": "https://github.com/vllm-project/vllm/issues/49949",
          "title": "[Bug]: Nemotron 3 Nano NVFP4 plain TP8 fails on Hopper/Marlin because TP shards split 16-value quantization groups",
          "date": "2026-07-27"
        }
      ],
      "record": null,
      "fixture": {
        "files": {
          "serve.sh": "#!/bin/sh\nvllm serve RedHatAI/gemma-4-26B-A4B-it-NVFP4 --revision 5557756b8dce33ac72f2bd702b11729fdba3b839 --tensor-parallel-size 8 --gpu-memory-utilization 0.35 --max-model-len 4096 --max-num-seqs 64 --seed 0 --kv-cache-dtype auto --limit-mm-per-prompt '{\"image\": 0, \"audio\": 0, \"video\": 0}'\n"
        },
        "args": [
          "--gpu",
          "h200",
          "--gpus",
          "8"
        ],
        "main": {
          "RedHatAI/gemma-4-26B-A4B-it-NVFP4": "5557756b8dce33ac72f2bd702b11729fdba3b839"
        },
        "asOf": "2026-11-07"
      },
      "outcome": "blocked",
      "verdict": "refuse",
      "exit": 1,
      "because": [
        "1 launch blocker"
      ],
      "causeFindings": [
        {
          "at": "serve.sh",
          "severity": "block",
          "id": "tp-quant-group",
          "text": "TP 8 leaves 88 input columns of experts.down_proj per rank, not a multiple of the checkpoint's 16-wide quantization group (and 1 more split layer)"
        }
      ],
      "otherFindings": [
        {
          "at": "serve.sh",
          "severity": "warn",
          "id": "quant-fallback",
          "text": "nvfp4 on H200 (141 GB) (sm90) is not native: it runs on a fallback kernel"
        },
        {
          "at": "RedHatAI/gemma-4-26B-A4B-it-NVFP4",
          "severity": "medium",
          "id": "prompt-differs",
          "text": "The prompt vllm sends renders differently from the reference (transformers' apply_chat_template)."
        }
      ],
      "caughtBy": [
        "tp-quant-group"
      ],
      "gap": null
    }
  ]
}
