Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[espnet-3] Merge master into espnet3 and fixed CI#6239

Merged
sw005320 merged 151 commits intoespnet:espnet3from
Masao-Someki:merge_master
Sep 14, 2025
Merged

[espnet-3] Merge master into espnet3 and fixed CI#6239
sw005320 merged 151 commits intoespnet:espnet3from
Masao-Someki:merge_master

Conversation

@Masao-Someki
Copy link
Contributor

@Masao-Someki Masao-Someki commented Sep 12, 2025

What did you change?

Merge master into espnet3 branch
It contains a required patch for pyopenjtalk to fix CI.

  • Removed dependency of underthesea from task-tts group.

Why did you make this change?

To fix CI issue in espnet3 branch

  • The underthesea is not yet supporting installation via pyproject.toml

Is your PR small enough?

No, but no other changes from merging master


Additional Context

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request merges the master branch into espnet3, bringing in a number of updates and new features. Key changes include CI fixes for pyopenjtalk, the addition of a new prompt-based speech-to-text (ps2st) task for Qwen2-Audio models, a new recipe for language identification on VoxLingua107, and several new utilities like a parallel speaker embedding extractor, an automatic code style fixer, and an LLM-based release note generator. My review focuses on the new utility scripts, where I've identified a couple of critical bugs that could cause runtime crashes. The rest of the changes, including new recipes and numerous style fixes, look good.

@sw005320
Copy link
Contributor

@Masao-Someki, can you review your fix for the conflict?
I think this includes some mistakes

- It seems setuptools>80 has issue with warprnnt_pytorch
@Masao-Someki
Copy link
Contributor Author

I re-checked the merges, and the only changes I made while resolving conflicts were the following.
I’m not sure why the CI errors are happening now, but it seems they’re related to a pip dependency issue...

diff --cc .github/workflows/ci_on_ubuntu.yml
index 45e72a7404,a8d536bb39..3588c315e7
--- a/.github/workflows/ci_on_ubuntu.yml
+++ b/.github/workflows/ci_on_ubuntu.yml
@@@ -176,9 -175,9 +176,9 @@@ jobs
        max-parallel: 20
        matrix:
          os: [ubuntu-latest]
-         python-version: ["3.10", "3.11"]
 -        python-version: ["3.10"]
 -        pytorch-version: ["2.6.0"]
 -        chainer-version: ["6.0.0"]
++        python-version: ["3.10", "3.12"]
 +        pytorch-version: [2.5.1, 2.6.0, 2.7.1, 2.8.0]
 +        chainer-version: [6.0.0]
          use-conda: [false]
      steps:
        - uses: actions/checkout@master
@@@ -194,10 -193,7 +194,10 @@@
          run: |
            sudo apt-get update -qq
            # NOTE(kamo): g++-7 doesn't exist in ubuntu-latest
--          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg
++          sudo apt-get install -qq -y cmake libsndfile1-dev bc sox ffmpeg libjpeg-dev
 +      - name: Get PR labels
 +        id: pr-labels
 +        uses: joerick/[email protected]
        - name: install espnet
          env:
            ESPNET_PYTHON_VERSION: ${{ matrix.python-version }}

@Masao-Someki
Copy link
Contributor Author

Masao-Someki commented Sep 13, 2025

Okay now I understand the error. Previously we used actions/cache@v3 which contains the wheel for underthesea, but since we changed to the newer version (v4) we cannot use that cache.
We can still install the package with setup.py, but it seems the underthesea does not support installation with pyproject.toml as we encounter dependency error with pip. (building this package with pyproject.toml installation requires maturin but it is not in the build requirement.)

@Masao-Someki
Copy link
Contributor Author

In ESPnet-2, this package was only used in a special case (Vietnamese text cleaning) and was therefore not included as a dependency. In ESPnet-3, we introduced task-specific dependencies and added this package to the task-tts group. Since it now causes CI issues and is only needed for Vietnamese TTS, I will remove it from task-tts. I will update the warnings and tutorials for users who require Vietnamese support.

@Masao-Someki Masao-Someki changed the title [espnet-3] Merge master into espnet3 (250912) [espnet-3] Merge master into espnet3 and fixed CI Sep 13, 2025
- We removed it because it cause installation error with pyproject.toml
- tests for espnetez was replaced with espnet3
@codecov
Copy link

codecov bot commented Sep 13, 2025

Codecov Report

❌ Patch coverage is 59.19732% with 122 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.18%. Comparing base (e681064) to head (87a0df2).
⚠️ Report is 564 commits behind head on espnet3.

Files with missing lines Patch % Lines
espnet2/bin/ps2st_inference.py 0.00% 47 Missing ⚠️
espnet2/tasks/ps2st.py 0.00% 36 Missing ⚠️
espnet2/ps2st/espnet_model.py 76.05% 17 Missing ⚠️
espnet2/ps2st/qwen2_scorer.py 75.51% 12 Missing ⚠️
espnet2/text/qwen2audio_tokenizer.py 90.47% 4 Missing ⚠️
espnet2/asr/state_spaces/s4.py 0.00% 2 Missing ⚠️
espnet2/train/lid_trainer.py 0.00% 2 Missing ⚠️
espnet2/tasks/gan_svs.py 0.00% 1 Missing ⚠️
espnet2/text/cleaner.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           espnet3    #6239      +/-   ##
===========================================
+ Coverage    51.97%   55.18%   +3.20%     
===========================================
  Files          875      876       +1     
  Lines        83537    83885     +348     
===========================================
+ Hits         43420    46288    +2868     
+ Misses       40117    37597    -2520     
Flag Coverage Δ
test_integration_espnet2 46.18% <53.40%> (?)
test_python_espnet2 50.75% <57.19%> (+0.14%) ⬆️
test_python_espnet3 0.77% <8.69%> (?)
test_utils 18.77% <ø> (-1.87%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Masao-Someki
Copy link
Contributor Author

@sw005320
Could you review this change? The additional change I made is in the following commit; the other commits are only to correct mistakes from merging the master branch.

Removed underthesea from dependency

@sw005320
Copy link
Contributor

@sw005320 Could you review this change? The additional change I made is in the following commit; the other commits are only to correct mistakes from merging the master branch.

Removed underthesea from dependency

OK for me.
Good catch!

@sw005320
Copy link
Contributor

Can you check https://github.com/espnet/espnet/actions/runs/17693138577/job/50289334938?pr=6239?

@Masao-Someki
Copy link
Contributor Author

@sw005320 @Fhrozen
The CI error originated from a Gemini refactoring suggestion in #6231 (this commit). The change removed the repeat function, which altered the shape of mean and std to (B, C, 1) instead of the expected (B, C, T). After reverting this change, I could successfully passed this test in my local PC.

I will revert this commit for now

@Masao-Someki
Copy link
Contributor Author

@sw005320
Hi, if the above commit is okay to you, I will merge this and back to the main espnet-3 development!

@sw005320 sw005320 merged commit 558a891 into espnet:espnet3 Sep 14, 2025
28 checks passed
@sw005320
Copy link
Contributor

Thanks!
Now, we fix the CI error and can also use the latest numpy/python setup.
Please import the update in the main repo frequently

@Fhrozen Fhrozen added this to the v.202512 milestone Sep 23, 2025
@Fhrozen Fhrozen modified the milestones: v.202512, v.202511 Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Travis, Circle CI, etc Documentation ESPnet1 ESPnet2 ESPnet3 Installation README size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants