mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
Update tests README to point to tests/requirements.txt (#935)
* Update tests README Point to tests/requirements.txt as part of instructions * Update `requirements` to `dependencies`
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ cd pytorch-lightning
|
||||
pip install -e .
|
||||
|
||||
# install dev deps
|
||||
pip install -r requirements.txt
|
||||
pip install -r tests/requirements.txt
|
||||
|
||||
# run tests
|
||||
py.test -v
|
||||
@@ -35,7 +35,7 @@ Make sure to run coverage on a GPU machine with at least 2 GPUs and NVIDIA apex
|
||||
```bash
|
||||
cd pytorch-lightning
|
||||
|
||||
# generate coverage
|
||||
# generate coverage (coverage is also installed as part of dev dependencies under tests/requirements.txt)
|
||||
pip install coverage
|
||||
coverage run --source pytorch_lightning -m py.test pytorch_lightning tests examples -v --doctest-modules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user