{"record":{"id":"ceb549b567b47285","repo":"sgl-project/sglang","slug":"minimax-h3-material-localization-completed-without","errorCode":null,"errorMessage":"MiniMax H3 material localization completed without cached probe facts","messagePattern":"MiniMax H3 material localization completed without cached probe facts","errorType":"validation","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"python/sglang/multimodal_gen/runtime/pipelines_core/stages/model_specific_stages/minimax_h3/material_io.py","lineNumber":899,"sourceCode":"def minimax_h3_probe_material(\n    batch: Any,\n    uri: str,\n    *,\n    condition_type: str,\n    condition_index: int,\n) -> dict[str, Any]:\n    \"\"\"Localize and return cached display-geometry facts for one condition.\"\"\"\n\n    path = minimax_h3_localize_material_uri(\n        batch,\n        uri,\n        condition_type=condition_type,\n        condition_index=condition_index,\n    )\n    key = (uri, condition_type)\n    facts = batch.extra.get(MINIMAX_H3_MATERIAL_PROBE_EXTRA_KEY, {}).get(key)\n    if not isinstance(facts, dict) or not facts:\n        raise RuntimeError(\n            \"MiniMax H3 material localization completed without cached probe facts\"\n        )\n    return {\"local_path\": path, **facts}\n\n\n__all__ = [\n    \"MINIMAX_H3_MATERIAL_CACHE_EXTRA_KEY\",\n    \"MINIMAX_H3_MATERIAL_PROBE_EXTRA_KEY\",\n    \"MINIMAX_H3_TEMP_DIRS_EXTRA_KEY\",\n    \"minimax_h3_cleanup_temp_dirs\",\n    \"minimax_h3_localize_material_uri\",\n    \"minimax_h3_probe_material\",\n    \"minimax_h3_register_temp_dir\",\n]\n","sourceCodeStart":881,"sourceCodeEnd":914,"githubUrl":"https://github.com/sgl-project/sglang/blob/0132848349585cfe6aae51c4941cbae872505f8a/python/sglang/multimodal_gen/runtime/pipelines_core/stages/model_specific_stages/minimax_h3/material_io.py#L881-L914","documentation":"After localization succeeded, the probe facts expected under MINIMAX_H3_MATERIAL_PROBE_EXTRA_KEY for (uri, condition_type) are missing or empty. This is an internal pipeline-state inconsistency, not user input.","triggerScenarios":"minimax_h3_probe_material called on a batch where localization happened through a path that bypassed the probe-facts writer (custom monkeypatching, partial state restore, or a bug).","commonSituations":"Almost always a code/version bug or tests constructing batches manually without running the probe stage.","solutions":["Ensure the standard minimax_h3 localization path populated batch.extra before probing","Upgrade/rebuild the pipeline so probe and localize stages match","Report a bug if it occurs with unmodified code"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"except RuntimeError as e: fail fast and report pipeline bug; do not retry","preventionTips":["Use the standard localize+probe stage pair","Avoid manually constructing batch.extra"],"tags":["internal-state","minimax-h3","probe"],"backgroundTag":"pipeline-state-inconsistency","analyzedSha":"0132848349585cfe6aae51c4941cbae872505f8a","analyzedAt":"2026-08-28T05:10:05.995Z","schemaVersion":2},"datasetVersion":"2026-08-28T06:17:29.519Z"}