Skip to content

mistral3

HF-backed Mistral3 text encoder wrapper for full Flux2.

Classes

fastvideo.models.encoders.mistral3.Mistral3ForConditionalGeneration

Mistral3ForConditionalGeneration(config: Mistral3TextConfig)

Bases: TextEncoder

Loads the Transformers Mistral3 implementation for Flux2 text encoding.

Source code in fastvideo/models/encoders/mistral3.py
def __init__(self, config: Mistral3TextConfig) -> None:
    super().__init__(config)
    self.config = config