mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 01:05:01 +08:00
[misc] add commit id in collect env (#7405)
This commit is contained in:
parent
02b1988b9f
commit
6c8e595710
@ -265,8 +265,9 @@ def get_neuron_sdk_version(run_lambda):
|
|||||||
def get_vllm_version():
|
def get_vllm_version():
|
||||||
try:
|
try:
|
||||||
import vllm
|
import vllm
|
||||||
return vllm.__version__
|
return vllm.__version__ + "@" + vllm.__commit__
|
||||||
except ImportError:
|
except Exception:
|
||||||
|
# old version of vllm does not have __commit__
|
||||||
return 'N/A'
|
return 'N/A'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user