Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion examples/offline_inference_tt.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ def register_tt_models():
ModelRegistry.register_model(
"TTMistralForCausalLM",
"models.tt_transformers.tt.generator_vllm:MistralForCausalLM")

ModelRegistry.register_model(
"TTGemma3ForCausalLM",
"models.tt_transformers.tt.generator_vllm:Gemma3ForCausalLM"
)

register_tt_models() # Import and register models from tt-metal

Expand Down Expand Up @@ -121,6 +124,7 @@ def check_tt_model_supported(model):
"deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
"deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
"mistralai/Mistral-7B-Instruct-v0.3",
"google/gemma-3-1b-it",
]
assert model in supported_models, f"Invalid model: {model}"

Expand Down