Skip to content

Commit

Permalink
Add verify check
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkovicTT committed Feb 25, 2025
1 parent 114d19e commit f081375
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion forge/test/mlir/llama/test_llama_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

import forge
from forge.verify.verify import verify
from test.mlir.llama.utils.utils import load_model


Expand Down Expand Up @@ -149,4 +150,5 @@ def test_llama_input_sequence_lengths(model_path, seq_len):

# Compile the model and run fwd pass
compiled_model = forge.compile(framework_model, input_ids)
logits = compiled_model(input_ids)

verify([input_ids], framework_model, compiled_model)

0 comments on commit f081375

Please sign in to comment.