causal_fast_pipeline ¶
LingBot World 2 causal-fast image-to-video pipeline.
Classes¶
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2CausalFastGenerationStage ¶
Bases: PipelineStage
Prepare LingBot World 2 conditions and run the released causal-fast sampling loop.
Source code in fastvideo/pipelines/basic/lingbotworld2/causal_fast_pipeline.py
Methods:¶
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2CausalFastGenerationStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Execute LingBot World 2 causal-fast generation and store final latents on the batch.
Source code in fastvideo/pipelines/basic/lingbotworld2/causal_fast_pipeline.py
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | |
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2CausalFastPipeline ¶
Bases: LoRAPipeline, ComposedPipelineBase
FastVideo pipeline for LingBot World 2 14B causal-fast I2V generation.
Source code in fastvideo/pipelines/lora_pipeline.py
Methods:¶
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2CausalFastPipeline.create_pipeline_stages ¶
create_pipeline_stages(fastvideo_args: FastVideoArgs) -> None
Set up the LingBot World 2 causal-fast pipeline stages.
Source code in fastvideo/pipelines/basic/lingbotworld2/causal_fast_pipeline.py
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2TextEncodingStage ¶
Bases: TextEncodingStage
Keep LingBot World 2 T5 attention masks so DiT context matches the source pipeline.
Source code in fastvideo/pipelines/stages/text_encoding.py
Methods:¶
fastvideo.pipelines.basic.lingbotworld2.causal_fast_pipeline.LingBotWorld2TextEncodingStage.forward ¶
forward(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> ForwardBatch
Initialize mask storage before running the shared text-encoding stage.