utils.collect_env
Environment Checker Utils
Utilities for collecting/checking fastai
user environment
from fastai.utils import *
show_install
[source][test]
show_install
(show_nvidia_smi
:bool
=False
) Tests found forshow_install
:
pytest -sv tests/test_utils.py::test_show_install
[source]
To run tests please refer to this guide.
Print user’s setup information
without nvidia-smi printout:
python -m fastai.utils.show_install
with nvidia-smi printout:
python -m fastai.utils.show_install 1
check_perf
[source][test]
check_perf
() Tests found forcheck_perf
:
pytest -sv tests/test_utils.py::test_check_perf
[source]
To run tests please refer to this guide.
Suggest how to improve the setup to speed things up
python -m fastai.utils.check_perf
©2021 fast.ai. All rights reserved.
Site last generated: Jan 5, 2021