mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Add note about testing inconsistency
Mitigates #56396 The true fix would be https://github.com/pytorch/pytorch/pull/75608 but there are many issues to debug and this is a good step forward to at least clarify. Pull Request resolved: https://github.com/pytorch/pytorch/pull/75620 Approved by: https://github.com/kit1980, https://github.com/seemethere, https://github.com/malfet
This commit is contained in:
parent
6d9210be68
commit
8d3e3ebc58
1 changed files with 2 additions and 0 deletions
|
|
@ -342,6 +342,8 @@ The `expecttest` and `hypothesis` libraries must be installed to run the tests.
|
|||
an optional dependency, and `pytest` may help run tests more selectively.
|
||||
All these packages can be installed with `conda` or `pip`.
|
||||
|
||||
**Weird note:** In our CI (Continuous Integration) jobs, we actually run the tests from the `test` folder and **not** the root of the repo, since there are various dependencies we set up for CI that expects the tests to be run from the test folder. As such, there may be some inconsistencies between local testing and CI testing--if you observe an inconsistency, please [file an issue](https://github.com/pytorch/pytorch/issues/new/choose).
|
||||
|
||||
### Better local unit tests with `pytest`
|
||||
|
||||
We don't officially support `pytest`, but it works well with our
|
||||
|
|
|
|||
Loading…
Reference in a new issue