#5640·fairseq

CPU OOM when pretraining hubert

Author: VJJJJJJ1Created Nov 5, 2025Updated Nov 5, 2025
Labelsquestionneeds triage

Hi, I encountered a CPU memory OOM issue while training Hubert. The problem is that load_label_offsetand load_audioin fairseq/data/audio/hubert_dataset.pyload all the data into a list at once. Are there any good solutions for this? I have roughly 200 million data entries.

Source: facebookresearch/fairseq