Training a Large Video Model on a Single Machine in a Day
About
Videos are big, complex to pre-process, and slow to train on. State-of-the-art large-scale video models are trained on clusters of 32 or more GPUs for several days. As a consequence, academia largely ceded the training of large video models to industry. In this paper, we show how to still train a state-of-the-art video model on a single machine with eight consumer-grade GPUs in a day. We identify three bottlenecks, IO, CPU, and GPU computation, and optimize each. The result is a highly efficient video training pipeline. For comparable architectures, our pipeline achieves higher accuracies with $\frac{1}{8}$ of the computation compared to prior work. Code is available at https://github.com/zhaoyue-zephyrus/AVION.
Yue Zhao, Philipp Kr\"ahenb\"uhl• 2023
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Action Recognition | EPIC-KITCHENS (val) | Verb Top-1 Acc73 | 36 | |
| Action Recognition | Epic Kitchens 100 | -- | 26 | |
| Action Recognition | Epic-100 (test) | Action Accuracy54.4 | 20 | |
| Multi-Instance Retrieval | EPIC-KITCHENS 100 (test) | mAP (Avg)54.5 | 15 | |
| Multi-Instance Retrieval | EK 100 (val) | mAP (V->T)0.579 | 13 | |
| Action Recognition | Epic-Kitchens-100 (val) | Top-1 Action Acc54.4 | 10 | |
| Multi-Instance Retrieval | EK100 zero-shot | mAP37.6 | 6 | |
| Action Recognition | EPFL-Smart-Kitchen-30 | Overall Accuracy19.3 | 6 | |
| Action Recognition | EK100 (val) | Verb Top-1 Acc73 | 2 | |
| Action Recognition | EPIC-Kitchens 0s-4s duration 100 (val) | Verb Accuracy75.6 | 2 |
Showing 10 of 14 rows