OK, so the Pi Zero 2W has only 512MB of RAM and I realize that's probably too tight for this kind of thing, but I gave it a shot anyway.
Once I figured out you must use the older Bullseye image to install 64-bit Raspberry PiOS Lite on a Pi Zero 2W successfully, I can report it didn't take long to have success with your documented steps.
On my first try the Python process was "Killed," which I pretty much expected (out of memory error). I then added about 2GB of swap space and was able to complete the recognition run.
Alas, it took several minutes at max CPU to transcribe the one-sentence Beckett WAV file.
Results of my run:
(boutell) boutell@sunnyphone:~ $ python
Python 3.9.2 (default, Mar 20 2025, 02:07:39)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import moonshine_onnx
>>> moonshine_onnx.transcribe(moonshine_onnx.ASSETS_DIR / 'beckett.wav', 'moonshine/tiny')
['Ever tried ever failed, no matter try again, fail again, fail better.']
I used the tiny model as you can see.
My guess is this is just the end of the road, I recognize most modern models just aren't built for 512MB of RAM. But I wanted to post my results and see if you have any suggestions before I move on.
Thanks!