Skip to content

CosyVoice#4137

Open
supotato6 wants to merge 5 commits intoPaddlePaddle:developfrom
supotato6:develop
Open

CosyVoice#4137
supotato6 wants to merge 5 commits intoPaddlePaddle:developfrom
supotato6:develop

Conversation

@supotato6
Copy link

PR types

PR changes

Describe

@paddle-bot
Copy link

paddle-bot bot commented Nov 6, 2025

Thanks for your contribution!

@mergify mergify bot added the Audio label Jan 5, 2026
@supotato6 supotato6 changed the title Linear test CosyVoice Jan 5, 2026
Copy link
Collaborator

@zxcd zxcd left a comment

Choose a reason for hiding this comment

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

可以用pre-commit跑一下code style,保证格式正确

from paddlespeech.t2s.models.CosyVoice.common import ras_sampling
from paddlespeech.t2s.frontend.CosyVoiceFrontEnd.tokenizer import get_qwen_tokenizer
from hyperpyyaml import load_hyperpyyaml
hyper_yaml_path = "/root/paddlejob/workspace/zhangjinghong/CosyVoice/pretrained_models/CosyVoice2-0.5B_paddle/cosyvoice2.yaml"
Copy link
Collaborator

Choose a reason for hiding this comment

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

yaml可以一起提到代码里来

noise = paddle.randn(shape=uv.shape, dtype=uv.dtype) * self.sine_amp / 3
return sine_merge, noise, uv
# class SourceModuleHnNSF(paddle.nn.Layer):
# """ SourceModule for hn-nsf
Copy link
Collaborator

Choose a reason for hiding this comment

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

没有用到的话可以先不放进来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants