MCPcopy
hub / github.com/MeiGen-AI/InfiniteTalk / get_sampling_sigmas

Function get_sampling_sigmas

wan/utils/fm_solvers.py:24–28  ·  view source on GitHub ↗
(sampling_steps, shift)

Source from the content-addressed store, hash-verified

22
23
24def get_sampling_sigmas(sampling_steps, shift):
25 sigma = np.linspace(1, 0, sampling_steps + 1)[:sampling_steps]
26 sigma = (shift * sigma / (1 + (shift - 1) * sigma))
27
28 return sigma
29
30
31def retrieve_timesteps(

Callers 5

generateMethod · 0.85
generateMethod · 0.85
generateMethod · 0.85
generateMethod · 0.85
mp_workerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected