I ran into a “Too many open files (os error 24)” issue trying to build ExecuTorch on macOS Sonoma 14.5.
I resolved it by simply building from main.
The Setting Up ExecuTorch doc instructs you to clone a specific branch: git clone --branch v0.2.1 GitHub - pytorch/executorch: On-device AI across mobile, embedded and edge for PyTorch
This should probably be updated. Apologies if there’s a different process for flagging this that I’m unaware of ![]()