Skip to content

Rename shared HuBERT encoder as Wav2Vec2 runtime - #724

Merged
0xShug0 merged 1 commit into
mainfrom
refactor/wav2vec2-framework-naming
Sep 28, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
refactor/wav2vec2-framework-naming

Conversation

@0xShug0

@0xShug0 0xShug0 commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • rename the shared hubert_encoder framework module and public types to wav2vec2_encoder and Wav2Vec2*
  • keep model-local names specific to the actual variant: HuBERT, XLS-R, MMS, or MERT
  • rename the MMS positional-convolution test and CMake target consistently

Behavior

This is a naming-only refactor. Encoder defaults, per-model configuration assignments, tensor bindings, graph construction, runtime ownership, and math are unchanged. No variant profile or configuration factory is introduced.

The in-tree consumers are Seed-VC, RVC, LiveAvatar, MMS forced alignment, and ControlFoley through the MERT style conditioner.

Validation

  • normalized old/new source comparison: exact match after reversing identifier-only renames for the framework and every production caller
  • git diff --check
  • cmake --build build/debug --target mms_wav2vec2_positional_conv_test -j "$(nproc)"

The full debug all build compiled the affected production targets, then stopped at unrelated unresolved CUDA symbols in the existing cuda_bias_fusion_test and cuda_rope_rows_test targets.

@0xShug0
0xShug0 merged commit 342d26d into main Sep 28, 2026
6 checks passed
@0xShug0
0xShug0 deleted the refactor/wav2vec2-framework-naming branch September 28, 2026 15:54
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