Skip to content

Commit 191eed0

Browse files
authored
[BugFix] Fix lazy imports involving outlines_core (#27158)
Signed-off-by: 22quinn <33176974+22quinn@users.noreply.github.com>
1 parent fb86067 commit 191eed0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

vllm/v1/structured_output/backend_outlines.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# SPDX-FileCopyrightText: Copyright 2025-present the Outlines developers
33
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
4+
from __future__ import annotations
5+
46
import ast
57
import importlib
68
import json

vllm/v1/structured_output/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
3+
from __future__ import annotations
4+
35
import hashlib
46
import importlib.metadata
57
import os

0 commit comments

Comments
 (0)