From 3f8a44143727256645f17da06eecd05a91c44efb Mon Sep 17 00:00:00 2001 From: Chayenne Date: Fri, 28 Feb 2025 18:37:15 -0800 Subject: [PATCH] Docs: Add redline to highlight main process (#3977) --- docs/backend/offline_engine_api.ipynb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/backend/offline_engine_api.ipynb b/docs/backend/offline_engine_api.ipynb index 6a95e59e6..4d5f4034a 100644 --- a/docs/backend/offline_engine_api.ipynb +++ b/docs/backend/offline_engine_api.ipynb @@ -18,7 +18,8 @@ "- Non-streaming asynchronous generation\n", "- Streaming asynchronous generation\n", "\n", - "**To launch the offline engine in your python scripts, `__main__` condition is necessary, since we use `spawn` mode to create subprocesses. Please refer to this [simple example](https://github.com/sgl-project/sglang/blob/main/examples/runtime/engine/launch_engine.py) for more details.**\n", + "\n", + "**To launch the offline engine in your python scripts,** `__main__` **condition is necessary, since we use** `spawn` **mode to create subprocesses. Please refer to this** [simple example](https://github.com/sgl-project/sglang/blob/main/examples/runtime/engine/launch_engine.py) **for more details.**\n", "\n", "Additionally, you can easily build a custom server on top of the SGLang offline engine. A detailed example working in a python script can be found in [custom_server](https://github.com/sgl-project/sglang/blob/main/examples/runtime/engine/custom_server.py)." ]