This PR modifies the FFCV tests to work on consumer hardware by adding cpu_count checks and lowering the batch and size in test_cuda_nonblocking.py.
The test_cuda_nonblocking.py changes could be moved to a pytest config file with a pytest extension like pytest-testconfig, assuming pytest doesn't this built in and I am missing it.
The dataset writer tests currently hang on my machine, I believe I fixed this issue by merging in the fix-198 and FFCV 1.0 branches.
This PR modifies the FFCV tests to work on consumer hardware by adding
cpu_count
checks and lowering the batch and size intest_cuda_nonblocking.py
.The
test_cuda_nonblocking.py
changes could be moved to a pytest config file with a pytest extension like pytest-testconfig, assuming pytest doesn't this built in and I am missing it.The dataset writer tests currently hang on my machine, I believe I fixed this issue by merging in the fix-198 and FFCV 1.0 branches.