Skip to content

fix(ci): use existing sherpa-onnx CUDA GPU archive name#652

Merged
streamer45 merged 1 commit into
mainfrom
devin/1783278232-fix-sherpa-gpu-archive
Jul 5, 2026
Merged

fix(ci): use existing sherpa-onnx CUDA GPU archive name#652
streamer45 merged 1 commit into
mainfrom
devin/1783278232-fix-sherpa-gpu-archive

Conversation

@staging-devin-ai-integration

@staging-devin-ai-integration staging-devin-ai-integration Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The marketplace CUDA job 404'd on sherpa-onnx-v1.12.17-linux-x64-gpu-shared.tar.bz2 — that asset name doesn't exist upstream. Switch to sherpa-onnx-v1.12.17-cuda-12.x-cudnn-9.x-linux-x64-gpu.tar.bz2, the same CUDA 12 / cuDNN 9 build Dockerfile.full-gpu already vendors.
  • Verified the archive exists, its top-level directory matches ${ARCHIVE%.tar.bz2} (the install step relies on this), and it ships all libs the bundles need (libsherpa-onnx-c-api.so, libonnxruntime.so, libonnxruntime_providers_cuda.so, libonnxruntime_providers_shared.so).

Review & Validation

  • Re-run the Marketplace Release workflow after merge and confirm the "Build Marketplace CUDA Variants" job gets past the sherpa-onnx install step (the earlier queue stall was the missing gpu runner label, now fixed).

Link to Devin session: https://staging.itsdev.in/sessions/a1b47be9c21e48d29ec7397d56720bf9
Requested by: @streamer45


Devin Review

Status Commit
🟢 Reviewed 6875521
Open in Devin Review (Staging)

Signed-off-by: streamkit-devin <devin@streamkit.dev>
@streamer45 streamer45 self-assigned this Jul 5, 2026
@streamer45 streamer45 self-requested a review July 5, 2026 19:05
@staging-devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@staging-devin-ai-integration staging-devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Open in Devin Review (Staging)
Debug

Playground

# GPU (CUDA-enabled) sherpa-onnx shared build; vendored into cuda variants so
# the execution-provider-agnostic plugin .so dispatches to the GPU at runtime.
SHERPA_ONNX_GPU_ARCHIVE: "sherpa-onnx-v1.12.17-linux-x64-gpu-shared.tar.bz2"
SHERPA_ONNX_GPU_ARCHIVE: "sherpa-onnx-v1.12.17-cuda-12.x-cudnn-9.x-linux-x64-gpu.tar.bz2"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🔍 New GPU archive name relies on basename==extracted-dir convention

The change updates SHERPA_ONNX_GPU_ARCHIVE to sherpa-onnx-v1.12.17-cuda-12.x-cudnn-9.x-linux-x64-gpu.tar.bz2. The download/extract step at .github/workflows/marketplace-build.yml:261-265 derives the extracted directory generically via dir="${SHERPA_ONNX_GPU_ARCHIVE%.tar.bz2}", so it adapts to the rename automatically. This is only correct if the CUDA tarball extracts to a top-level directory whose name exactly matches the archive basename (sherpa-onnx-v1.12.17-cuda-12.x-cudnn-9.x-linux-x64-gpu). If the k2-fsa release uses a different internal directory layout, the cp -r "${dir}/lib/." step would fail. Worth a quick confirmation against the actual release asset, since it can't be verified from the code alone.

Open in Devin Review (Staging)

Was this helpful? React with 👍 or 👎 to provide feedback.

Debug

Playground

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verified against the actual release asset: downloaded sherpa-onnx-v1.12.17-cuda-12.x-cudnn-9.x-linux-x64-gpu.tar.bz2 and its top-level directory is exactly the archive basename, with lib/ containing libsherpa-onnx-c-api.so, libonnxruntime.so, libonnxruntime_providers_cuda.so, and libonnxruntime_providers_shared.so — everything the bundle vendoring needs.

@streamer45 streamer45 merged commit 89f3673 into main Jul 5, 2026
29 checks passed
@streamer45 streamer45 deleted the devin/1783278232-fix-sherpa-gpu-archive branch July 5, 2026 19:11
@codecov

codecov Bot commented Jul 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.25%. Comparing base (8abd958) to head (6875521).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #652      +/-   ##
==========================================
- Coverage   85.25%   85.25%   -0.01%     
==========================================
  Files         249      249              
  Lines       75765    75765              
  Branches     2314     2314              
==========================================
- Hits        64595    64594       -1     
- Misses      11164    11165       +1     
  Partials        6        6              
Flag Coverage Δ
backend 85.31% <ø> (-0.01%) ⬇️
ui 84.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
core 85.79% <ø> (ø)
engine 83.76% <ø> (ø)
api 91.14% <ø> (ø)
nodes 84.88% <ø> (-0.01%) ⬇️
server 85.22% <ø> (ø)
plugin-native 84.79% <ø> (ø)
plugin-wasm 95.41% <ø> (ø)
ui-services 86.27% <ø> (ø)
ui-components 70.18% <ø> (ø)
see 1 file with indirect coverage changes
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants