Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The WAN Context Windows (Manual) node allows you to manually configure context windows for WAN-like models with 2-dimensional processing. It applies custom context window settings during sampling by specifying the window length, overlap, scheduling method, and fusion technique. This gives you precise control over how the model processes information across different context regions.

Inputs

ParameterData TypeRequiredRangeDescription
modelMODELYes-The model to apply context windows to during sampling.
context_lengthINTYes1 to 1048576The length of the context window (default: 81).
context_overlapINTYes0 to 1048576The overlap of the context window (default: 30).
context_scheduleCOMBOYes”static_standard"
"uniform_standard"
"uniform_looped"
"batched”
The stride of the context window.
context_strideINTYes1 to 1048576The stride of the context window; only applicable to uniform schedules (default: 1).
closed_loopBOOLEANYes-Whether to close the context window loop; only applicable to looped schedules (default: False).
fuse_methodCOMBOYes”pyramid”The method to use to fuse the context windows (default: “pyramid”).
Note: The context_stride parameter only affects uniform schedules, and closed_loop only applies to looped schedules. The context length and overlap values are automatically adjusted to ensure minimum valid values during processing.

Outputs

Output NameData TypeDescription
modelMODELThe model with the applied context window configuration.