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

[cache] Pipeline cache to avoid writeable arguments #5

Closed
wants to merge 1 commit into from

Commits on Apr 23, 2024

  1. [cache] Pipeline cache to avoid writeable arguments

    Writing to an `arg` value results in a `!torch.tensor` argument type
    which violates write semantics. As scatters  are inherently mutative
    operations on the destination buffer we can internally create a copy
    then scatter to this copy. This should result in an in-place mutative
    operation as the dispatch takes ownership of the passed buffer.
    rsuderman committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    6ab70cf View commit details
    Browse the repository at this point in the history