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

Reduce backward memory to ~half #218

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Dec 10, 2021

  1. various inplace ops on the CPU

    - reuse y_act_ and dy_act_
    - use inplace calculations in `forward_cpu` and `backward_cpu`
    jasam-sheja committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    e31ca6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ffc9cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29701c9 View commit details
    Browse the repository at this point in the history
  4. python side compatibility

    - make sure dy_act doesn't have memory overlaping
    - reflect the inplace operations in the doc and comments
    jasam-sheja committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    49446d7 View commit details
    Browse the repository at this point in the history