Comments (2)
sorry it s not a vllm problem it's a llamaindex problem. can you tell me how i can do the same so i can open a PR or someone else. in all case i will open an issue on their repo.
.venv/lib/python3.11/site-packages/llama_index/llms/vllm/base.py
def __del__(self) -> None:
import torch
if torch.cuda.is_available():
from vllm.model_executor.parallel_utils.parallel_state import (
destroy_model_parallel,
)
destroy_model_parallel()
del self._client
torch.cuda.synchronize()
from vllm.
vllm.model_executor.parallel_utils.parallel_state
is moved to vllm.distributed.parallel_state
from vllm.
Related Issues (20)
- [Misc]: HELPPP! Implement vLLM Library in FastAPI using MultiGPUS got Force Shutdown after some warning
- [Usage]: What's the minimum VRAM needed to use entire context length for Llama 3.1 70B and 405B
- [Feature]: RuntimeError: FlashAttention only supports Ampere GPUs or newer. HOT 1
- [Usage]: how to release cuda memory HOT 11
- [Feature]: `benchmark_serving.py` should support `--logprobs`
- [Bug]: vllm.engine.async_llm_engine.AsyncEngineDeadError HOT 3
- [New Model]: DiT
- [Usage]:vllm 0.6, I want to use tools calling with qwen2 model, any one know how to write the chat template?
- [Feature]: BitsandBytes quantization with TP>1
- [Bug]: enabling *prompt* logprobs support with multi-step scheduling (as distinct from decoded token logprobs) crashes vLLM
- [Bug]: [Errno 98] error while attempting to bind on address ('0.0.0.0', 8000): address already in use HOT 3
- [Misc]: benchmark_serving with image input HOT 3
- [Bug]: Crashing HOT 7
- [Bug]: Shutdown problem when we use ADAG HOT 1
- [Usage]: Is there an argument to adjust the interval time for logs displayed on the terminal? HOT 1
- [Bug]: FastAPI 0.113.0 breaks vLLM OpenAPI HOT 4
- [Usage]: how can i perfrome multiimage inference? in MiniCPM-V-2_6 model or any vision language model with vllm? HOT 16
- [Feature]: Supporting Guided Decoding via AsyncLLMEngine HOT 2
- [Bug]: vLLM v0.6.1 Instability issue under load. HOT 23
- [Installation]: Dockerfile for aarch64
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vllm.