[QUESTION] Confusion about return if args.partitions==1 #1075
Replies: 1 comment
-
|
From the snippet alone, it does look confusing, but the The intention of A few things to check:
If you're using commit Could you also share:
That would help determine whether this is expected behavior or a regression in that version. If this answer helped or pointed you in the right direction, I'd appreciate it if you could mark it as the accepted answer so it's easier for others with the same issue to find. Also, if you found my contribution useful, I'd appreciate it if you could check out my GitHub profile, follow me, and star any repositories you find interesting. GitHub: https://github.com/Advait251206 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I want to preprocess data for pretraining Bert model, I find this code snippet,
does not work. It won't generate .bin and .idx files because
returnafterif args.partitions==1ends the program.Megatron-LM/tools/preprocess_data.py
Line 362 in 86e2927
Beta Was this translation helpful? Give feedback.
All reactions