From 96729fc45a0acfb98666661e760b68b1377a87fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Mon, 19 Jul 2021 13:26:09 +0200 Subject: [PATCH] update links for collect_env_details.py script (#8436) --- .azure-pipelines/gpu-tests.yml | 2 +- .azure-pipelines/ipu-tests.yml | 2 +- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/gpu-tests.yml b/.azure-pipelines/gpu-tests.yml index bdf32cb45a..edeba51a2e 100644 --- a/.azure-pipelines/gpu-tests.yml +++ b/.azure-pipelines/gpu-tests.yml @@ -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' diff --git a/.azure-pipelines/ipu-tests.yml b/.azure-pipelines/ipu-tests.yml index e071475071..2926e1d70f 100644 --- a/.azure-pipelines/ipu-tests.yml +++ b/.azure-pipelines/ipu-tests.yml @@ -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' diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 9faa2331a2..8b91ff3a09 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -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 ```