Skip to content

Commit 678fdf5

Browse files
committed
Use consolidated Gemma4Audio op in gemma4_unified fixture
Follow the onnxruntime-extensions consolidation: the unified audio config now uses the single Gemma4Audio op with type="raw_frames" instead of the separate Gemma4UnifiedAudioFrames kernel. Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
1 parent 689fa0f commit 678fdf5

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

test/python/create/create_dummy_gemma4_unified_models.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,14 @@ def main() -> None:
113113
{"operation": {"name": "audio_decoder", "type": "AudioDecoder"}},
114114
{
115115
"operation": {
116-
"name": "gemma4_unified_audio_frames",
117-
"type": "Gemma4UnifiedAudioFrames",
118-
"attrs": {"audio_samples_per_token": 640, "sampling_rate": 16000, "padding_value": 0.0},
116+
"name": "gemma4_audio",
117+
"type": "Gemma4Audio",
118+
"attrs": {
119+
"type": "raw_frames",
120+
"audio_samples_per_token": 640,
121+
"sampling_rate": 16000,
122+
"padding_value": 0.0,
123+
},
119124
}
120125
},
121126
]

0 commit comments

Comments
 (0)