From 106796861914146372aba9386aeff9361edfb34d Mon Sep 17 00:00:00 2001 From: dhuangnm Date: Tue, 11 Jun 2024 10:27:21 -0400 Subject: [PATCH] fix yapf error --- vllm/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/vllm/__init__.py b/vllm/__init__.py index f5af4db222dea..1efa6a4a9503e 100644 --- a/vllm/__init__.py +++ b/vllm/__init__.py @@ -14,10 +14,6 @@ # UPSTREAM SYNC: use the current downstream. __version__ = "0.5.0" -def githash(): - from torch.ops._C import ops - return ops.githash() - __all__ = [ "githash", "LLM", @@ -34,3 +30,8 @@ def githash(): "initialize_ray_cluster", "PoolingParams", ] + + +def githash(): + from torch.ops._C import ops + return ops.githash()