stepvideo_encoding
¶
Classes¶
fastvideo.pipelines.stages.stepvideo_encoding.StepvideoPromptEncodingStage
¶
Bases: PipelineStage
Stage for encoding prompts using the remote caption API.
This stage applies the magic string transformations and calls the remote caption service asynchronously to get: - primary prompt embeddings, - an attention mask, - and a clip embedding.
Source code in fastvideo/pipelines/stages/stepvideo_encoding.py
Functions¶
fastvideo.pipelines.stages.stepvideo_encoding.StepvideoPromptEncodingStage.verify_input
¶
verify_input(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> VerificationResult
Verify stepvideo encoding stage inputs.
Source code in fastvideo/pipelines/stages/stepvideo_encoding.py
fastvideo.pipelines.stages.stepvideo_encoding.StepvideoPromptEncodingStage.verify_output
¶
verify_output(batch: ForwardBatch, fastvideo_args: FastVideoArgs) -> VerificationResult
Verify stepvideo encoding stage outputs.