Skip to content

feat: expose RoPE theta via config API - #320

Open
KakaruHayate wants to merge 1 commit into
openvpi:mainfrom
KakaruHayate:feat/expose-rope-config
Open

feat: expose RoPE theta via config API#320
KakaruHayate wants to merge 1 commit into
openvpi:mainfrom
KakaruHayate:feat/expose-rope-config

Conversation

@KakaruHayate

@KakaruHayate KakaruHayate commented Aug 8, 2026

Copy link
Copy Markdown

Summary

  • Expose RoPE theta through DiffSinger YAML configs (rope_theta).
  • rope_theta is passed to RoPE modules in acoustic/variance/Melody encoders via hparams.
  • Backward-compatible default: rope_theta=10000 preserves existing behavior when unset.

Files changed

  • modules/fastspeech/tts_modules.py: FastSpeech2Encoder accepts rope_theta.
  • modules/fastspeech/acoustic_encoder.py, modules/fastspeech/variance_encoder.py: read rope_theta from hparams.
  • configs/*.yaml and configs/templates/*.yaml: add rope_theta: 10000.

@KakaruHayate
KakaruHayate force-pushed the feat/expose-rope-config branch 2 times, most recently from ffba20b to 3956360 Compare August 8, 2026 03:42
@KakaruHayate KakaruHayate changed the title feat: expose RoPE theta/dim via config API feat: expose RoPE theta via config API Aug 8, 2026
@KakaruHayate
KakaruHayate force-pushed the feat/expose-rope-config branch from 3956360 to f5ba7b6 Compare August 8, 2026 04:00
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.

1 participant