Skip to content

Commit

Permalink
[misc] add commit id in collect env (vllm-project#7405)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored Aug 11, 2024
1 parent 02b1988 commit 6c8e595
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions collect_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,9 @@ def get_neuron_sdk_version(run_lambda):
def get_vllm_version():
try:
import vllm
return vllm.__version__
except ImportError:
return vllm.__version__ + "@" + vllm.__commit__
except Exception:
# old version of vllm does not have __commit__
return 'N/A'


Expand Down

0 comments on commit 6c8e595

Please sign in to comment.