Skip to content

kaldi-native-fbank: add build-kaldi-native-fbank.yml for riscv64 wheels - #1764

Merged
luhenry merged 2 commits into
mainfrom
kaldi-native-fbank
Sep 12, 2026
Merged

kaldi-native-fbank: add build-kaldi-native-fbank.yml for riscv64 wheels#1764
luhenry merged 2 commits into
mainfrom
kaldi-native-fbank

Conversation

@luhenry

@luhenry luhenry commented Sep 11, 2026

Copy link
Copy Markdown
Member

Compiles a from-scratch, dependency-free reimplementation of Kaldi's fbank/mfcc speech feature extractors, pybind11-bound via a plain setup.py CMake build. Upstream publishes no riscv64 wheel.

Mirrors upstream's build-wheels.yaml.

Differs from upstream

  • Nothing beyond the riscv64 image.

Testing

  • Upstream's own wheel job runs no test command at all; this adds pytest against the real suite (numpy/torch from our registry).
  • Excludes test_online_fbank.py/test_online_mfcc.py (need unpublished kaldifeat, sys.exit(0) breaks collection) and runs test_rfft.py/test_feature_demo.py/test_online_raw_audio_samples.py directly - upstream's own tree never wires them into pytest.

License: Wheel statically links kissfft (BSD-3-Clause), fetched via CMake FetchContent; upstream's PyPI wheels ship no licence text for it, so the build adds LICENSE.kissfft.

Patches

  • 0001-ship-kissfft-s-BSD-3-Clause-LICENSE-in-the-wheel-s-.patch - Upstream-Status: To upstream. Without it, dist-info/licenses/ carries only kaldi-native-fbank's own LICENSE; reproduces on any host, verified against the real PyPI wheel.

Built on cp312; 28 passed, 0 skipped.

luhenry added a commit that referenced this pull request Sep 11, 2026
luhenry added a commit that referenced this pull request Sep 11, 2026
@luhenry
luhenry merged commit d8195b8 into main Sep 12, 2026
9 checks passed
@luhenry
luhenry deleted the kaldi-native-fbank branch September 12, 2026 19:23
@luhenry luhenry linked an issue Sep 13, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kaldi-native-fbank riscv64 support

1 participant