Skip to content

Add CLI test scripts for Parakeet and Whisper-Tiny ASR models#27

Merged
copybara-service[bot] merged 3 commits into
mainfrom
add-test-scripts
May 17, 2026
Merged

Add CLI test scripts for Parakeet and Whisper-Tiny ASR models#27
copybara-service[bot] merged 3 commits into
mainfrom
add-test-scripts

Conversation

@hvt4

@hvt4 hvt4 commented May 14, 2026

Copy link
Copy Markdown
Collaborator

Adding CLI test scripts for the whisper_tiny and parakeet models.

Comment thread test_scripts/models/parakeet.sh Outdated
# run_case "Run MediaTek compiled Parakeet-TDT" \
# litert run "$MODEL_DIR/parakeet_tdt/parakeet_tdt_0.6b_v3_MediaTek_MT6993.tflite" --android --npu
# run_case "Benchmark MediaTek compiled Parakeet-TDT" \
# litert benchmark "$MODEL_DIR/parakeet_tdt/parakeet_tdt_0.6b_v3_MediaTek_MT6993.tflite" --android --npu

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will those compile comamnds work for those machines?

If yes, good to put here; If not, we can remove them for now.

Also, the benchmarking or running might be not be acculate, because there are both encoder and decoder, and we need to specify which signature to benchmark.
Fine to submit first, and I will change after this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Thanks for pointing that out and for the review. I haven't tested the MediaTek commands yet, but I will test them tomorrow and confirm. Thank you!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the MediaTek - The compilation works, but the run command fails because libLiteRtDispatch_MediaTek.so is currently missing. I think it is best to remove those commands for now as you suggested.

@smilingday

Copy link
Copy Markdown
Collaborator

I have submit a new change to clean up the tests, and can you adjust your PR?

hvt4 added 2 commits May 17, 2026 00:54
…licit benchmark signatures, and desktop benchmarks
…licit benchmark signatures, and desktop benchmarks
@hvt4 hvt4 force-pushed the add-test-scripts branch from 8f2e302 to 552ec66 Compare May 17, 2026 08:11
@hvt4

hvt4 commented May 17, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks for pointing out setup_test_env! I modified accordingly for both Parakeet and Whisper-Tiny.

I also made a few tweaks while testing: I added the --signature-key flags so we actually hit the encode and decode paths separately, as you mentioned. I also added desktop benchmarks since they are working now. Lastly, I kept the compile command in, but removed the run and benchmark commands for now.

Tested everything locally and all 19 cases passed. Kindly let me know if anything else needs to be modified. Thank you!

@smilingday smilingday requested review from smilingday and removed request for junjiang-lab May 17, 2026 17:10

@smilingday smilingday left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching up latest changes

@copybara-service copybara-service Bot merged commit ce31b33 into main May 17, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants