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

Add support for more complex parallelism strategies to benchmark_litgpt.py #77

Merged
merged 15 commits into from
Mar 27, 2024

Conversation

parthmannan
Copy link
Collaborator

@parthmannan parthmannan commented Mar 25, 2024

What does this PR do?

Adds support for more complex parallelism strategies -

  1. Hybrid FSDP using device mesh for PyTorch Eager/Torch.Compile
  2. Bucketing for FSDP based on size for PyTorch Eager/Torch.Compile
  3. Arg for bucketing for DDP based on size

cc - @carmocca @IvanYashchuk

@parthmannan parthmannan marked this pull request as ready for review March 27, 2024 01:23
@parthmannan
Copy link
Collaborator Author

@carmocca Ready for review! 🙌

Copy link
Contributor

@carmocca carmocca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

thunder/benchmarks/benchmark_litgpt.py Outdated Show resolved Hide resolved
thunder/benchmarks/benchmark_litgpt.py Outdated Show resolved Hide resolved
thunder/benchmarks/benchmark_litgpt.py Outdated Show resolved Hide resolved
thunder/benchmarks/benchmark_litgpt.py Outdated Show resolved Hide resolved
@carmocca carmocca enabled auto-merge (squash) March 27, 2024 01:42
parthmannan and others added 3 commits March 27, 2024 12:49
@carmocca carmocca merged commit 716fffd into main Mar 27, 2024
35 of 37 checks passed
@carmocca carmocca deleted the pmannan_benchmark_litgpt branch March 27, 2024 20:26
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

Successfully merging this pull request may close these issues.

2 participants