utils.collect_env

Environment Checker Utils

Utilities for collecting/checking fastai user environment

  1. from fastai.utils import *

show_install[source][test]

show_install(show_nvidia_smi:bool=False) Tests found for show_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

show_install

check_perf[source][test]

check_perf() Tests found for check_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

check_perf


Company logo

©2021 fast.ai. All rights reserved.
Site last generated: Jan 5, 2021