MCPcopy Index your code
hub / github.com/FunAudioLLM/ThinkSound / sample_k

Function sample_k

ThinkSound/inference/sampling.py:111–193  ·  view source on GitHub ↗
(
        model_fn, 
        noise, 
        init_data=None,
        mask=None,
        steps=100, 
        sampler_type="dpmpp-2m-sde", 
        sigma_min=0.5, 
        sigma_max=50, 
        rho=1.0, device="cuda", 
        callback=None, 
        cond_fn=None,
        **extra_args
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generate_diffusion_condFunction · 0.85

Calls 3

make_cond_model_fnFunction · 0.85
get_bmaskFunction · 0.85
inpainting_callbackFunction · 0.85

Tested by

no test coverage detected