Skip to content
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

Difference between huggingface deepspeed integration and accelerate deepspeed-plugin #214

Closed
jerryli1981 opened this issue Dec 19, 2021 · 3 comments

Comments

@jerryli1981
Copy link

huggingface transformer support deepspeed (https://huggingface.co/docs/transformers/main_classes/deepspeed )

accelerate also support deepspeed via ds-plugin, so what is design thoughts besides no trainer flexibility?

@jerryli1981
Copy link
Author

Another quick question is "BatchSamplerShard" in data_loader.py is functionally equal to torch.utils.data.distributed.DistributedSampler ?

@sgugger
Copy link
Collaborator

sgugger commented Dec 20, 2021

Please use the forums to ask questions as we keep the issues for bugs and feature requests only. The Trainer supports deepspeed but Accelerate is designed for people who don't want to use a Trainer. It also supports deepseed for people who want to use that library and retain full control over their training loop.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot closed this as completed Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants