Skip to content

Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment #8897

Discussion options

You must be logged in to vote

What Lightning version are you using?

The fastest way for us to be able to help you is if you can adapt this script to reproduce the behaviour you are seeing.

Judging by the stacktrace, it's an error on our side.

You can try fixing it by calling .detach() on your logged tensors, but it'd be better if you can reproduce it and share the code

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@morestart
Comment options

Answer selected by carmocca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants