a-plan-is-not-a-path / code /install_vllm.py
0721alex's picture
Publish A Plan Is Not a Path research materials
557f178 verified
Raw History Blame Contribute Delete
476 Bytes
"""Install the official vLLM release compatible with remote torch 2.11.
Execute once through molab_remote.py exec; a lost response is not retried.
"""
import inspect
import marimo._code_mode as cm
print("Adding official vllm==0.26.0 through notebook packages", flush=True)
async with cm.get_context() as _ctx:
_result = _ctx.packages.add("vllm==0.26.0")
if inspect.isawaitable(_result):
await _result
print("Notebook package request completed", flush=True)