Qualcomm AI Engine Direct - Gemma4 Text model enablement#20979
Qualcomm AI Engine Direct - Gemma4 Text model enablement#20979DannyYuyang-quic wants to merge 1 commit into
Conversation
Summary: - Add a Gemma4 model compatible with static llama
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20979
Note: Links to docs will display an error until the docs builds have been completed.
|
This PR needs a
|
|
@psiddh Hi,
We noticed mainline's Gemma4 doesn't go through the usual unified flow, even its So my question is: for models that differ significantly from the current unified flow, do we prefer keeping them as standalone implementations? Or is the long-term direction to make all models standalone? I'm not sure if I'm thinking about this the right way, but if this hasn't been decided yet, we preference for Gemma 4 on the QNN backend would be to keep it standalone for now (as in this PR). Once more Gemma 4-like architectures (e.g., YOCO or per-layer embedding variants) are introduced, perhaps around 4-5 models, it may make sense to revisit the design and refactor them into a unified architecture. What do you think? cc: @shewu-quic @winskuo-quic @haowhsu-quic @chenweng-quic @abhinaykukkadapu |
Summary
Gemma4 Text model enablement
Test plan