mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
If the command is too long, the linter fails with ``` Failed due to OSError: [Errno 7] Argument list too long: 'grep' ``` Fix this by batching the command so it is shorter Limit of 750k was chosen due to `getconf ARG_MAX` returns ~1M on my mac. My guess is that most people shouldn't hit this unless they run --all-files and the directory length is long. Pull Request resolved: https://github.com/pytorch/pytorch/pull/145950 Approved by: https://github.com/wdvr |
||
|---|---|---|
| .. | ||
| adapters | ||
| clang_tidy | ||
| __init__.py | ||