Skip to content

Commit

Permalink
leave a todo for __del__
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao committed Mar 27, 2024
1 parent 0361127 commit 6d18496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vllm/worker/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ def __del__(self) -> None:
# NOTE(woosuk): This is necessary because otherwise deadlocks can
# happen.
# FIXME(woosuk): This is a bit hacky. Find a more robust solution.
# TODO(youkaichao): when we get enough user feedback that pynccl is
# more stable than cupy, we can remove this, e.g. in v0.4.1.
self.graph_runners.clear()
self.pynccl_backend = None

Expand Down

0 comments on commit 6d18496

Please sign in to comment.