update links for collect_env_details.py script (#8436)

This commit is contained in:
Adrian Wälchli 2021-07-19 13:26:09 +02:00 committed by GitHub
parent e345469a87
commit 96729fc45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ jobs:
displayName: 'Install dependencies'
- bash: |
python tests/collect_env_details.py
python requirements/collect_env_details.py
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu >= 2, f'GPU: {mgpu}'"
displayName: 'Env details'

View File

@ -60,7 +60,7 @@ jobs:
displayName: 'Install dependencies'
- bash: |
python tests/collect_env_details.py
python requirements/collect_env_details.py
python -c "import torch"
displayName: 'Env details'

View File

@ -32,11 +32,11 @@ Use following [**BoringModel**](https://colab.research.google.com/drive/1HvWVVTK
* `IDE`: Please, use our python [bug_report_model.py](https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/bug_report_model.py
) template.
* `Colab Notebook`: Please copy and paste the output from our [environment collection script](https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py) (or fill out the checklist below manually).
* `Colab Notebook`: Please copy and paste the output from our [environment collection script](https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/requirements/collect_env_details.py) (or fill out the checklist below manually).
You can get the script and run it with:
```
wget https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py
wget https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/requirements/collect_env_details.py
# For security purposes, please check the contents of collect_env_details.py before running it.
python collect_env_details.py
```