This repository was archived by the owner on Nov 19, 2025. It is now read-only.
Repository navigation
load_gbs in build_dataloader, how it works? #453
Unanswered
shensimeteor
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
Anyone knows this
load_gbsparameter (https://github.com/NVIDIA/NeMo-Aligner/blob/main/nemo_aligner/data/nlp/builders.py#L471), how it works?I noticed if I set
load_gbs = True, the dataloader, in each iteration, will respond data of whole global_batch_size (divided by data_parallel_size), while if it'sFalse, it reponds data of single micro_batch_size.My issue is if using
load_gbs=True, the data will exceed memory so dataloader will crash. So I'm wondering if I can switch it toFalse. Or will it have other side effects of changing it toFalse?Thanks!
All reactions