Skip to content

split up sample() to allow backwards pass#4

Open
dribnet wants to merge 8 commits into
crowsonkb:masterfrom
pixray:master
Open

split up sample() to allow backwards pass#4
dribnet wants to merge 8 commits into
crowsonkb:masterfrom
pixray:master

Conversation

@dribnet

@dribnet dribnet commented Jan 4, 2022

Copy link
Copy Markdown

This refactor takes the existing sample() call and splits it into subroutines disabling @torch.no_grad() to enable optimisation of x. Could be further cleaned up, but this version is working well currently with downstream code.

@dribnet

dribnet commented Jan 15, 2022

Copy link
Copy Markdown
Author

(this branch has been caught up, but the CLIP submodule dependency was also removed in f96d121. I can further clean this up by reverting this commit and flatten this history if you are interested in incorporating these changes)

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