-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trainer #18
Comments
I think I'll do this tonight since it seems the easiest |
@isamu-isozaki Awesome, thank you! I will get back to you in a few hours with all the details!! |
@xrsrke I was thinking of maybe just inheriting from transformer's Trainer. wdyt? |
@isamu-isozaki Nope, I just checked Also one note, we only apply a specific parallel mode based on the parallel_context. For example, if data_parallel_size is greater than 1, then we wrap the model with DataParallel. |
Notes
DataParallel
,TensorParallel
andPipelineParallel
modules. The user just plugs in their model and dataloader and trains. Similar totransformers
.APIs
Trainer
Trainer Callback
DistributedDataLoader
TODOs
The text was updated successfully, but these errors were encountered: