{ "mic": "0.3", "name": "Gemma 2 causal LM (vLLM-compatible fixture)", "usage": "vLLM LLM(model_impl='transformers') vs Transformers greedy generation: backend, tokens and per-step logits", "architecture": "Gemma2ForCausalLM", "checkpoints": { "google/gemma-2-2b-it": { "fixture": "huggingface-mic/gemma2-vllm-mic" } }, "fixtures": { "huggingface-mic/gemma2-vllm-mic": { "built_from": "google/gemma-2-2b-it", "covers": [ "google/gemma-2-2b-it" ], "build": { "seed": 0, "config_overrides": { "fields": { "num_attention_heads": 2, "num_key_value_heads": 1, "head_dim": 32 }, "reason": "vLLM's Transformers backend on CPU supports head widths [32, 48, 64, 80]...; the shrink rule gives 16. 4 heads of 16 -> 2 of 32 keeps the q/k/v/o projection shapes (weights sized by the head width, e.g. q/k norms, grow). (serving profile vllm-cpu v1)" } } } }, "integrations": { "vllm": { "entry_point": "integrations/vllm/usage.md", "format": "runnable-markdown", "requires": [ "vllm", "transformers>=5", "torch" ], "targets": [ "fixtures" ], "variants": { "default": { "dtype": "float32" } }, "training": false, "resources": { "fixture": { "memory_gb": 2, "download_mb": 50 } }, "outputs": { "runtime": { "compare": "exact" }, "checks": { "compare": "all_true" } } } }, "integrations_note": "entry_point fixed to integrations/transformers/usage.md", "outputs": { "runtime": { "compare": "exact" }, "predicted_tokens": { "compare": "exact" }, "predicted_text": { "compare": "exact" }, "answer_logits": { "compare": "allclose", "atol": 0.0001, "rtol": 0.0001 }, "training.loss": { "compare": "allclose", "atol": 0.0001, "rtol": 0.0001 }, "training.gradients": { "compare": "all_true" }, "training.updated": { "compare": "true" } } }