Skip to content

Conversation

@akshatsehgal
Copy link
Contributor

This PR adds gemma3_instruction as a valid conversation template in gen_config.py, enabling the generation of config and manual compilation for the Gemma3 instruction model.

@MasterJH5574 MasterJH5574 merged commit 2ecc5f5 into mlc-ai:main Jun 30, 2025
1 check passed
gururajkosuru added a commit to gururajkosuru/mlc-llm that referenced this pull request Oct 14, 2025
This PR adds comprehensive unit tests for the Gemma3 model architecture,
which was added in mlc-ai#3172, mlc-ai#3178, mlc-ai#3224 but lacked test coverage.

Changes:
- Add tests/python/model/test_gemma3.py with the following test cases:
  * test_gemma3_model_registered: Verify model is in registry
  * test_gemma3_creation: Test model creation and TVM export
  * test_gemma3_config_validation: Validate configuration parameters
- Tests cover gemma3_2b and gemma3_9b variants
- Follows pattern from test_llama.py

Testing:
All tests pass locally (instructions in PR description for reproduction)

Part of effort to add test coverage for recently added models.
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.

2 participants