vllm.collect_env ¶
get_cudnn_version ¶
Return a list of libcudnn.so; it's hard to tell which one is being used.
Source code in vllm/collect_env.py
get_pip_packages ¶
Return pip list output. Note: will also find conda-installed pytorch and numpy packages.
Source code in vllm/collect_env.py
get_rocm_version ¶
run ¶
Return (return-code, stdout, stderr).
Source code in vllm/collect_env.py
run_and_parse_first_match ¶
Run command using run_lambda, returns the first regex match if it exists.
Source code in vllm/collect_env.py
run_and_read_all ¶
Run command using run_lambda; reads and returns entire output if rc is 0.