[Bugfix] Guard model_config access in _log_compilation_config (#46198)
Signed-off-by: Tyler Michael Smith <tlrmchlsmth@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Tyler Michael Smith committed
Jun 20, 2026 at 15:26 UTC
e9de72fe6c56cfc7117768f671d2a1ff1f3bfb02
1 file changed
+1
-1
vllm/compilation/backends.py
+1
-1
@@ -991,7 +991,7 @@ class VllmBackend:
991
},
992
payload_fn=lambda: json.dumps(
993
{
994
- "model": self.vllm_config.model_config.model,
994
+ "model": getattr(self.vllm_config.model_config, "model", "unknown"),
995
"prefix": self.prefix,
996
"mode": str(cc.mode),
997
"backend": cc.backend,