Skip to content

fix(ci): declare the d1-omni speech clip as a binary asset - #3548

Merged
inureyes merged 1 commit into
lablup:mainfrom
Jaeyeong-CHOI:fix/declare-speech-flac
Nov 29, 2026
Merged

inureyes merged 1 commit into
lablup:mainfrom
Jaeyeong-CHOI:fix/declare-speech-flac

Conversation

@Jaeyeong-CHOI

Copy link
Copy Markdown
Contributor

Summary

#3533 added tests/fixtures/audio/speech.flac (183,318 bytes, the d1-omni README's LibriSpeech clip) without declaring it in scripts/ci/check_binary_assets.py. The binary assets job therefore fails on main and on every open PR:

binary-assets: FAIL
  undeclared: tests/fixtures/audio/speech.flac (179.0 KB)

This declares the file with a 192 KiB ceiling and a reason. It also raises TOTAL_BUDGET_BYTES by exactly the clip's size (42,781,163 → 42,964,481), because declaring the clip alone puts the set over the total ceiling. Nothing else changes.

The reason text is based on how the file is used: src/decision/d1_omni/mod_tests.rs decodes it for the speech requests, and tests/fixtures/decision/generate_d1_omni_fixture.py computes the committed prefix lengths and predict answers from these exact samples. The CC BY 4.0 attribution and the SHA-256 are already in tests/fixtures/audio/README.md.

Verification

  • python3 scripts/ci/check_binary_assets.py: OK — 113 declared binary files, 41927.8 KB of 41958 KB budget (on main: FAIL, undeclared speech.flac)
  • bash scripts/ci/check_binary_assets_test.sh: all cases pass (on main: 1 case fails, repository-as-committed)
  • Declaring the file without raising the budget fails with declared binaries total 41927.8 KB, over the 41778 KB ceiling, which is why both changes are in this commit.

lablup#3533 committed tests/fixtures/audio/speech.flac (183,318 bytes) without a rule in check_binary_assets.py, so the binary assets job fails on main and on every open PR. Declare it with a 192 KiB ceiling and the reason it has to be checked in, and raise TOTAL_BUDGET_BYTES by exactly its size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Medium priority status:review Under review type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants