From 6d7cb14a24014b20424212c633db325218629b27 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Thu, 3 Jul 2025 21:40:29 +0800 Subject: [PATCH] Fix lint in examples/offline_embed.py (#1618) ### What this PR does / why we need it? Fix lint ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? CI passed Signed-off-by: Yikun Jiang --- examples/offline_embed.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/offline_embed.py b/examples/offline_embed.py index 9b42587..91fba38 100644 --- a/examples/offline_embed.py +++ b/examples/offline_embed.py @@ -18,11 +18,13 @@ # import os + os.environ["VLLM_USE_MODELSCOPE"] = "True" import torch from vllm import LLM + def get_detailed_instruct(task_description: str, query: str) -> str: return f'Instruct: {task_description}\nQuery:{query}'