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

Allow an arbitrary mask to be used in the self attention #8235

Merged
merged 10 commits into from
Nov 26, 2024

Commits on Nov 21, 2024

  1. enable the use of masked self-attention

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    338da6b View commit details
    Browse the repository at this point in the history
  2. enable using a mask in the transformer forward pass

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    c869d69 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Refactoring to be easier to follow

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    42db7c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d8086e View commit details
    Browse the repository at this point in the history
  3. Update monai/networks/blocks/selfattention.py

    Co-authored-by: Eric Kerfoot <[email protected]>
    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt and ericspod authored Nov 22, 2024
    Configuration menu
    Copy the full SHA
    ea687ad View commit details
    Browse the repository at this point in the history
  4. Update test_selfattention.py

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt authored Nov 22, 2024
    Configuration menu
    Copy the full SHA
    101e6cf View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2024

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

Commits on Nov 25, 2024

  1. Fixing typing for TorchScript version

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    337ddb3 View commit details
    Browse the repository at this point in the history
  2. Fixing: imports are incorrectly sorted

    Signed-off-by: Lucas Robinet <[email protected]>
    Lucas-rbnt committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    d8f6d6f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    901f5ab View commit details
    Browse the repository at this point in the history