Skip to content

Enhance: Stereo and local Model Selection#13

Open
sp1np0rtal wants to merge 1 commit into
MixLabPro:mainfrom
sp1np0rtal:musicNode_Stereo_ModelSelect
Open

Enhance: Stereo and local Model Selection#13
sp1np0rtal wants to merge 1 commit into
MixLabPro:mainfrom
sp1np0rtal:musicNode_Stereo_ModelSelect

Conversation

@sp1np0rtal

Copy link
Copy Markdown

Changes

This PR adds several quality-of-life and usability improvements to the MusicGen node:

  • Added support for loading MusicGen models from the local models/musicgen directory instead of requiring downloads from Hugging Face.
  • Added a model selection dropdown that automatically lists available local MusicGen models.
  • Added stereo output support with a selectable Mono/Stereo option (previously only mono output was available).
  • Added explicit CUDA device selection/help alongside the existing Auto/CPU options.
  • Updated model caching/reload logic so changing the selected model correctly reloads the requested model rather than continuing to use an already loaded model instance.

Notes

During testing I observed that model selection changes can occur while a valid model object is already loaded. For that reason the model reload check remains necessary to detect model swaps and reload the correct checkpoint when the selected model changes.

Tested with local musicgen-medium and musicgen-small checkpoints and verified that changing the model selection triggers loading of the newly selected model.

New features:

  • Local MusicGen model dropdown
  • Mono/Stereo output selection
  • CUDA device selection

Tested with:

  • musicgen-small
  • musicgen-medium

Existing workflows continue to function as before. If no local model is selected, behavior remains unchanged.

Untitled

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