vllm-project / vllm

A high-throughput and memory-efficient inference and serving engine for LLMs
https://docs.vllm.ai
Apache License 2.0
29.78k stars 4.49k forks source link

[Doc]: i want to know. How to run vllms with remote ray cluster #4581

Open Prashantsaini25 opened 6 months ago

Prashantsaini25 commented 6 months ago

📚 The doc issue

i want to know. How to run vllms with remote ray cluster

my code is from llama_index.llms.vllm import Vllm import ray ray.init(address="ray://10.0.233.89:10001") llm = Vllm(model="./Mistral-7B-Instruct-v0.1",dtype="float16",tensor_parallel_size=2, temperature=0,max_new_tokens=100,vllm_kwargs={"swap_space": 1,"gpu_memory_utilization": 0.5,"max_model_len": 4096,})

Suggest a potential alternative/fix

No response

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!