mirror of
https://github.com/wassname/vllm.git
synced 2026-07-13 17:46:28 +08:00
Fix building from source on WSL (#3112)
This commit is contained in:
@@ -36,7 +36,7 @@ def _is_neuron() -> bool:
|
||||
torch_neuronx_installed = True
|
||||
try:
|
||||
subprocess.run(["neuron-ls"], capture_output=True, check=True)
|
||||
except FileNotFoundError:
|
||||
except (FileNotFoundError, PermissionError):
|
||||
torch_neuronx_installed = False
|
||||
return torch_neuronx_installed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user