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 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

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