[aoti-et] Add a voxtral runner and add CI #14875
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces an end-to-end CUDA test for the Voxtral model, adds a new runtime executable for Voxtral, and makes supporting updates to the build system and utility code. The main focus is on enabling automated validation of Voxtral's CUDA export and runtime within CI, including latency measurement and output verification.
End-to-end Voxtral CUDA test integration:
test-voxtral-cuda-e2ejob to the.github/workflows/cuda.ymlCI workflow, which builds, exports, and runs the Voxtral model using CUDA, and checks for expected output and exit codes..ci/docker/ci_commit_pins/optimum-executorch.txtto ensure compatibility with the latest Voxtral export.Voxtral runtime and build system enhancements:
voxtral_runnerexecutable tobackends/cuda/CMakeLists.txtfor running exported Voxtral models, linking it with required CUDA and extension libraries.voxtral_runner.cpp, which loads the model, runs the main methods (audio_encoder,token_embedding,text_decoder), prints tensor summaries, and reports method and run latencies.Utility and compatibility updates:
dtype_to_scalar_typeinbackends/aoti/utils.hto support PyTorch's int64 dtype code, improving tensor type handling for Voxtral inputs.