Training CIFAR-10 using FFCV

Fast Forward Computer Vision (FFCV): train models with accelerated data loading

GitHub: https://github.com/libffcv/ffcv

Installation

conda create -y -n ffcv python=3.9 cupy pkg-config compilers libjpeg-turbo opencv pytorch torchvision cudatoolkit=11.3 numba -c pytorch -c conda-forge
conda activate ffcv
pip install ffcv

Configuration

Imports

Configuration

Data

Convert datasets to FFCV format

Convert to FFCV format

Data Loaders

Model

Training