We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfdcfa6 commit 2c08ff2Copy full SHA for 2c08ff2
setup.py
@@ -36,7 +36,7 @@ def _is_neuron() -> bool:
36
torch_neuronx_installed = True
37
try:
38
subprocess.run(["neuron-ls"], capture_output=True, check=True)
39
- except FileNotFoundError:
+ except (FileNotFoundError, PermissionError):
40
torch_neuronx_installed = False
41
return torch_neuronx_installed
42
0 commit comments