mirror of
https://github.com/openai/gpt-oss.git
synced 2025-08-06 00:55:46 +03:00
Update vLLM command in README
This commit is contained in:
@@ -63,7 +63,12 @@ print(outputs[0]["generated_text"][-1])
|
||||
vLLM recommends using [`uv`](https://docs.astral.sh/uv/) for Python dependency management. You can use vLLM to spin up an OpenAI-compatible webserver. The following command will automatically download the model and start the server.
|
||||
|
||||
```bash
|
||||
uv run --with vllm vllm serve openai/gpt-oss-20b
|
||||
uv pip install --pre vllm==0.10.1+gptoss \
|
||||
--extra-index-url https://wheels.vllm.ai/gpt-oss/ \
|
||||
--extra-index-url https://download.pytorch.org/whl/nightly/cu128 \
|
||||
--index-strategy unsafe-best-match
|
||||
|
||||
vllm serve openai/gpt-oss-20b
|
||||
```
|
||||
|
||||
[Learn more about how to use gpt-oss with vLLM.](https://cookbook.openai.com/articles/gpt-oss/run-vllm)
|
||||
|
||||
Reference in New Issue
Block a user