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

WIP: Add Support for Gradient Checkpointing #759

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 7, 2024

  1. Fix gradient checkpointing and write tests

    - oerwrite the gradient_checkpointing_enable to provide our ForwardContext during the recomputation of values during backpropagation
    - 2 bugs remaining: bottleneck adapter for models with the legacy implementation (BERT) & Parallel. Parallel has the problem that we manipulate the batch dimension and this currently leads to an error
    lenglaender committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b5ae0fc View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    cb07dd4 View commit details
    Browse the repository at this point in the history