Skip to content

Commit

Permalink
[LLM] Use --ip CLI to get cluster IPs (#2614)
Browse files Browse the repository at this point in the history
This is a minor update to use `sky status --ip` to simplify the fetching of IP.
  • Loading branch information
Michaelvll authored Sep 27, 2023
1 parent 8184f2a commit 72331e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions llm/vllm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ sky launch -c vllm-llama2 serve-openai-api.yaml --gpus V100:1
```
2. Check the IP for the cluster with:
```
sky status -a
# Or get the IP with Python API:
IP=$(python -c "import sky; print(sky.status('vllm-llama2')[0]['handle'].head_ip)")
IP=$(sky status --ip vllm-llama2)
```
3. You can now use the OpenAI API to interact with the model.
- Query the models hosted on the cluster:
Expand Down

0 comments on commit 72331e2

Please sign in to comment.