vllm.collect_env
DEFAULT_CONDA_PATTERNS
module-attribute
¶
DEFAULT_CONDA_PATTERNS = {
"torch",
"numpy",
"cudatoolkit",
"soumith",
"mkl",
"magma",
"triton",
"optree",
"nccl",
"transformers",
"zmq",
"nvidia",
"pynvml",
}
DEFAULT_PIP_PATTERNS
module-attribute
¶
DEFAULT_PIP_PATTERNS = {
"torch",
"numpy",
"mypy",
"flake8",
"triton",
"optree",
"onnx",
"nccl",
"transformers",
"zmq",
"nvidia",
"pynvml",
}
SystemEnv
module-attribute
¶
SystemEnv = namedtuple(
"SystemEnv",
[
"torch_version",
"is_debug_build",
"cuda_compiled_version",
"gcc_version",
"clang_version",
"cmake_version",
"os",
"libc_version",
"python_version",
"python_platform",
"is_cuda_available",
"cuda_runtime_version",
"cuda_module_loading",
"nvidia_driver_version",
"nvidia_gpu_models",
"cudnn_version",
"pip_version",
"pip_packages",
"conda_packages",
"hip_compiled_version",
"hip_runtime_version",
"miopen_runtime_version",
"caching_allocator_config",
"is_xnnpack_available",
"cpu_info",
"rocm_version",
"neuron_sdk_version",
"vllm_version",
"vllm_build_flags",
"gpu_topo",
"env_vars",
],
)
check_release_file
¶
get_cachingallocator_config
¶
get_clang_version
¶
get_cmake_version
¶
get_conda_packages
¶
Source code in vllm/collect_env.py
get_cpu_info
¶
Source code in vllm/collect_env.py
get_cuda_module_loading_config
¶
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_env_info
¶
Source code in vllm/collect_env.py
get_env_vars
¶
Source code in vllm/collect_env.py
get_gcc_version
¶
get_gpu_info
¶
Source code in vllm/collect_env.py
get_gpu_topo
¶
get_libc_version
¶
get_lsb_version
¶
get_mac_version
¶
get_neuron_sdk_version
¶
get_nvidia_driver_version
¶
Source code in vllm/collect_env.py
get_nvidia_smi
¶
Source code in vllm/collect_env.py
get_os
¶
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_platform
¶
Source code in vllm/collect_env.py
get_pretty_env_info
¶
get_python_platform
¶
get_rocm_version
¶
get_running_cuda_version
¶
get_vllm_version
¶
Source code in vllm/collect_env.py
get_windows_version
¶
Source code in vllm/collect_env.py
is_xnnpack_available
¶
main
¶
Source code in vllm/collect_env.py
pretty_str
¶
Source code in vllm/collect_env.py
714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 |
|
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.
run_and_return_first_line
¶
Run command using run_lambda and returns first line if output is not empty.