Environment Variable List
Environment Variable |
Function |
Type |
Values |
Description |
---|---|---|---|---|
|
Specifies the model backend. Not Required when using vLLM-MindSpore Plugin native models, and required when using an external vLLM-MindSpore Plugin models. |
String |
|
vLLM-MindSpore Plugin native model backend supports Qwen2.5 series. MindSpore Transformers model backend supports Qwen/DeepSeek/Llama series models, and the environment variable: |
|
Configuration file for MindSpore Transformers models. Required for Qwen2.5 series or DeepSeek series models. |
String |
Path to the model configuration file |
This environment variable will be removed in future versions. Example: |
|
Specifies the network interface name for inter-machine communication using gloo. |
String |
Interface name (e.g., |
Used in multi-machine scenarios. The interface name can be found via |
|
Specifies the network interface name for inter-machine communication using TP. |
String |
Interface name (e.g., |
Used in multi-machine scenarios. The interface name can be found via |
|
Specifies the network interface name for inter-machine communication using HCCL. |
String |
Interface name (e.g., |
Used in multi-machine scenarios. The interface name can be found via |
|
Specifies which devices are visible to the current process, supporting one or multiple Device IDs. |
String |
Device IDs as a comma-separated string (e.g., |
Recommended for Ray usage scenarios. |
|
Controls the buffer size for data sharing between two NPUs. |
int |
Buffer size in MB (e.g., |
Usage reference: HCCL_BUFFSIZE. Example: For DeepSeek hybrid parallelism (Data Parallel: 32, Expert Parallel: 32) with |
|
Set the size of the memory pool block in PyNative mode for devices |
String |
String of positive number, and the unit is GB. |
|
|
Whether to use Ascend operation |
String |
|
If the variable is set to |
|
Enables profiling data collection and takes effect when a data save path is configured. |
String |
The path to save profiling data. |
More environment variable information can be referred in the following links: