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

arbitrary num_diffn_samples + use ds to enumerate diffusion samples #260

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

arogozhnikov
Copy link
Contributor

Description/motivation

allow generating more diffusion samples from single trunk.

fix #257

alternative pr is #259

Test plan

  • manually verified that exported diffusion module can handle arbitrary number of samples.

  • tested default predict_samples with 9 samples

@arogozhnikov arogozhnikov changed the title use ds to enumerate diffusion samples arbitrary num_diffn_samples + use ds to enumerate diffusion samples Dec 23, 2024
@arogozhnikov arogozhnikov requested a review from wukevin December 23, 2024 20:10
@wukevin
Copy link
Contributor

wukevin commented Dec 24, 2024

Looks like the number of diffusion samples isn't exposed as an argument in the function signature for run_inference. Should we expose this similar to #259 ?

@arogozhnikov
Copy link
Contributor Author

yup, didn't push one commit. Mind looking again?

@wukevin wukevin merged commit 4097a06 into main Dec 24, 2024
4 checks passed
@wukevin wukevin deleted the alex/more-diffn-samples branch December 24, 2024 00:38
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.

Expose num_diffusion_sample param
2 participants