Skip to content

[espnet3-16] Add demo stage#6342

Open
Masao-Someki wants to merge 222 commits intoespnet:masterfrom
Masao-Someki:espnet3/demo_stage
Open

[espnet3-16] Add demo stage#6342
Masao-Someki wants to merge 222 commits intoespnet:masterfrom
Masao-Someki:espnet3/demo_stage

Conversation

@Masao-Someki
Copy link
Copy Markdown
Contributor

What did you change?

Added demo stage.

  • New stages pack_demo, upload_demo for BaseSystem.
  • Added templates for demo.
  • Currently unable to run space, as espnet3 is not released yet, but after merging [espnet3-14] Add integration test #6331 we should be able to run space by changing the requirements of the demo.

Why did you make this change?

Automatic generation of models are very important for easily open-source and easily sharing the research outcome.
Since it uses the code and configs for the inference stage, ESPnet3 can generate demos for not only espnet-2-based pretrained models, but also user-defined custom models.


Is your PR small enough?

No, it is larger than 20 file changes.
This is because it adds espnet3/demo/ package and corresponding unit tests, also adding new CI job for UI tests that requires various files including recipe-side changes and templates.


Additional Context

This PR should be merged after #6339.

Masao-Someki and others added 30 commits October 18, 2025 23:02
- I forgot to fix run.py
- I think we need to have run.py in template, and symlink to recipes?
Masao-Someki and others added 20 commits January 28, 2026 23:36
…erence

- train.py: Update module docstring to be generic ('ESPnet3 systems')
- system.py: Fix load_function example to use dot notation instead of colon
- inference_provider.py: Fix parameter name 'cfg' to 'config' in build_model docstring
- sentencepiece.py: Fix parameter name 'output_path' to 'save_path' and default
  character_coverage from 0.9995 to 1.0 in train_sentencepiece docstring
I noticed that there is currently no mechanism to configure hyperparameters that control the inference-path.
With this settings users can put hyper parameters for these settings directly from the config file.
- Insert special token after the last token if insert_after is not specified.
- To avoid user confusion
- Avoid config collisions; multiple-iterator require extra config that’s bug‑prone.
- It also can’t map different shards to different GPUs
- Shards are not properly distributed to multiple GPUs.
- DataOrganizer generates an error without preprocessor
- Bug fixed with the integration test branch.
@mergify mergify Bot added Installation and removed conflicts labels Jan 30, 2026
@Fhrozen Fhrozen added this to the v.202604 milestone Mar 12, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

This pull request is now in conflict :(

@mergify mergify Bot added the conflicts label Mar 12, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6154af0) to head (d07098f).
⚠️ Report is 466 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #6342       +/-   ##
==========================================
- Coverage   69.33%       0   -69.34%     
==========================================
  Files         760       0      -760     
  Lines       70099       0    -70099     
==========================================
- Hits        48601       0    -48601     
+ Misses      21498       0    -21498     
Flag Coverage Δ
test_integration_espnet2 ?
test_python_espnet2 ?
test_python_espnet3 ?
test_utils ?

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.

@Fhrozen Fhrozen modified the milestones: v.202604, v.202607 Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Travis, Circle CI, etc conflicts ESPnet2 ESPnet3 Installation New Features size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants