Giter Site home page Giter Site logo

Comments (2)

osafaimal avatar osafaimal commented on September 23, 2024

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.

youkaichao avatar youkaichao commented on September 23, 2024

vllm.model_executor.parallel_utils.parallel_state is moved to vllm.distributed.parallel_state

from vllm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.