2025-06-09 10:00:01 -04:00
|
|
|
- This is the only AGENTS.md, there are no recursive AGENTS.md
|
2025-08-06 14:03:11 -07:00
|
|
|
- When you are working on a bug, first create a standalone file that
|
|
|
|
|
reproduces the bug and verify it fails in the expected way. Use this to
|
|
|
|
|
test if your changes work. Once the change is passing, find an appropriate
|
|
|
|
|
test file to add the test to and make sure to follow local conventions on
|
|
|
|
|
the test file.
|
|
|
|
|
- If you are running the real test suite, DO NOT run the entire test suite.
|
|
|
|
|
Instead run only a single test case, e.g., 'python test/test_torch.py TestTorch.test_dir'
|
|
|
|
|
- Do NOT run setup.py, you do not have a working build environment
|
|
|
|
|
- Do NOT run pre-commit, it is not setup
|
|
|
|
|
- To run lint, run 'lintrunner -a' (which will autoapply changes)
|
|
|
|
|
- Do NOT attempt to install dependencies, you do not have Internet access
|
2025-11-19 04:33:07 +00:00
|
|
|
- Do NOT create summary files unless explicitly asked
|
2025-08-06 14:03:11 -07:00
|
|
|
- When you are ready to make a PR, do exactly these steps:
|
|
|
|
|
- git stash -u
|
|
|
|
|
- git reset --hard $(cat /tmp/orig_work.txt) # NB: reset to the LOCAL branch, do NOT fetch
|
|
|
|
|
- git stash pop
|
|
|
|
|
- Resolve conflicts if necessary
|