"docs/vscode:/vscode.git/clone" did not exist on "3aeb19a39e73cb44dd0a9402e66cbae97ea9f345"
Unverified Commit 2c08ff23 authored by aliencaocao's avatar aliencaocao Committed by GitHub
Browse files

Fix building from source on WSL (#3112)

parent bfdcfa6a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment