[Misc] Remove VLLM_BUILD_WITH_NEURON env variable (#5389)
This commit is contained in:
@@ -222,7 +222,7 @@ def _is_neuron() -> bool:
|
||||
subprocess.run(["neuron-ls"], capture_output=True, check=True)
|
||||
except (FileNotFoundError, PermissionError, subprocess.CalledProcessError):
|
||||
torch_neuronx_installed = False
|
||||
return torch_neuronx_installed or envs.VLLM_BUILD_WITH_NEURON
|
||||
return torch_neuronx_installed or VLLM_TARGET_DEVICE == "neuron"
|
||||
|
||||
|
||||
def _is_cpu() -> bool:
|
||||
|
||||
Reference in New Issue
Block a user