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

Inference scaling #830

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Inference scaling #830

wants to merge 5 commits into from

Conversation

nicolaus-huang
Copy link

@nicolaus-huang nicolaus-huang commented Mar 19, 2025

Inference Scaling

Implementation of scaling method during inferencing inspaired by Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Steps. Spend more computational resources to get better results. Use it by specifying the sampling option.

torchrun --nproc_per_node 4 --standalone scripts/diffusion/inference.py configs/diffusion/inference/t2i2v_768px_inference_scaling.py --save-dir samples --dataset.data-path assets/texts/sora.csv 
Original
num_subtree=3
num_scaling_steps=5
num_noise=1
time=16min

num_subtree=7
num_scaling_steps=8
num_noise=1
time=1h

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