@ -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
The note is not visible to the blocked user.