Skip to content

Conversation

@riron1206
Copy link

Replacing += with text_embeds = text_embeds + (...) avoids the
"leaf Variable that requires grad is being used in an in-place operation"
RuntimeError in PyTorch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant