Datasets:
Download code/install_vllm.py from 0721alex/a-plan-is-not-a-path: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/datasets/0721alex/a-plan-is-not-a-path/resolve/main/code/install_vllm.py
- Command line
-
hf download hf://datasets/0721alex/a-plan-is-not-a-path/code/install_vllm.py
-
curl -L -o install_vllm.py https://huggingface.co/datasets/0721alex/a-plan-is-not-a-path/resolve/main/code/install_vllm.py
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) | |