Skip to content

Commit 4e3435f

Browse files
authored
Remove exact matching of outputs from Gemma 3 conversion notebook (#2359)
1 parent 46ae9ee commit 4e3435f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/checkpoint_conversion/convert_gemma3_checkpoints.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -498,11 +498,6 @@ def validate_output(
498498
flax_output = flax_sampler.chat(input_str, images=image)
499499
print("🔶 Flax output:", flax_output)
500500

501-
if flax_output.startswith(keras_output):
502-
print("✅ Output validated!")
503-
else:
504-
print("❌ Output does not match!")
505-
506501

507502
def main(_):
508503
preset = FLAGS.preset

0 commit comments

Comments
 (0)