Skip to content

[Text Pipeline]: Add HF-based Gemma 3 text encoder for LTX-2#340

Open
syhuang22 wants to merge 2 commits intoAI-Hypercomputer:mainfrom
syhuang22:feat/ltx2-hf-gemma3-encoder
Open

[Text Pipeline]: Add HF-based Gemma 3 text encoder for LTX-2#340
syhuang22 wants to merge 2 commits intoAI-Hypercomputer:mainfrom
syhuang22:feat/ltx2-hf-gemma3-encoder

Conversation

@syhuang22
Copy link
Collaborator

This PR introduces the HFGemma3TextEncoder, a lightweight text encoder wrapper that utilizes the Hugging Face transformers library (PyTorch) to load and execute the google/gemma-3-12b-it model. This encoder acts as the upstream source for the LTX-2 Text Pipeline, providing the 49-layer hidden states required by the downstream Feature Extractor.

@syhuang22 syhuang22 requested a review from entrpn as a code owner February 26, 2026 00:33
@syhuang22 syhuang22 changed the title feat: Add HF-based Gemma 3 text encoder for LTX-2 CPU feature extraction [Text Pipeline]: Add HF-based Gemma 3 text encoder for LTX-2 Feb 26, 2026
Signed-off-by: James Huang <syhuang1201@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant