Skip to content

When are buffers moved to gpu? #12207

Mar 3, 2022 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

It seems that pytorch doesn't move buffers parameters in-place (like it is done for parameters), this results in references to buffers being useless if they are moved from one device to another. This issue is discussed in pytorch/pytorch#43815.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@grudloff
Comment options

@rohitgr7
Comment options

@grudloff
Comment options

@grudloff
Comment options

@grudloff
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by grudloff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants