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

create an engine for all things pipelining and deprecate custom mixed precision #91

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

siddharth9820
Copy link
Collaborator

@siddharth9820 siddharth9820 commented Jul 1, 2024

This PR introduces a major refactor of our pipeline parallelism backend.

  1. axonn.inter_layer.AxoNN_Inter_Layer_Engine is being introduced as a class to handle all things pipeline parallelism.
  2. Our custom mixed precision implementation is being deprecated. Instead, the aforementioned class has an argument computation_dtype which can be set to torch.float16, torch.bfloat16, or torch.float32.
  3. Also deprecating cpu_offload optimizer for now. We will revisit it later.

@siddharth9820 siddharth9820 merged commit ade0c1a into develop Jul 1, 2024
4 checks passed
@siddharth9820 siddharth9820 deleted the deprecate-mixed-prec-refactor-pp branch July 1, 2024 15:54
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.

1 participant