got prompt
MusicgenLoader: loading musicgen-small
/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/torch/nn/utils/weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
moved MusicGen.compression_model to cuda
moved MusicGen.lm to cuda
moved MusicGen.cfg._metadata.ref_type.__new__ to cuda
moved MusicGen.cfg._metadata.ref_type to cuda
moved MusicGen.cfg._metadata.object_type to cuda
moved MusicGen.cfg._metadata.key_type.__new__ to cuda
moved MusicGen.cfg._metadata.key_type to cuda
moved MusicGen.cfg._metadata.element_type.__new__ to cuda
moved MusicGen.cfg._metadata.element_type to cuda
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "/home/drewp/Downloads/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/custom_nodes/ComfyUI-audio/musicgen_nodes.py", line 108, in generate
with torch.random.fork_rng(), obj_on_device(model, dst=device, verbose_move=True) as m:
File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/custom_nodes/ComfyUI-audio/util.py", line 94, in obj_on_device
model = object_to(model, dst, exclude=exclude, empty_cuda_cache=empty_cuda_cache, verbose=verbose_move)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/custom_nodes/ComfyUI-audio/util.py", line 86, in object_to
obj = _move_and_recurse(obj)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/custom_nodes/ComfyUI-audio/util.py", line 77, in _move_and_recurse
v = _move_and_recurse(v, name=cur_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/Downloads/ComfyUI/custom_nodes/ComfyUI-audio/util.py", line 78, in _move_and_recurse
setattr(o, k, v)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 337, in __setattr__
raise e
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 334, in __setattr__
self.__set_impl(key, value)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 318, in __set_impl
self._set_item_impl(key, value)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/basecontainer.py", line 620, in _set_item_impl
self._wrap_value_and_set(key, value, target_type_hint)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/basecontainer.py", line 628, in _wrap_value_and_set
wrapped = _maybe_wrap(
^^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/omegaconf.py", line 1105, in _maybe_wrap
return _node_wrap(
^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/omegaconf.py", line 1027, in _node_wrap
node = DictConfig(
^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 111, in __init__
format_and_raise(node=None, key=key, value=None, cause=ex, msg=str(ex))
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 819, in format_and_raise
_raise(ex, cause)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 94, in __init__
self._set_value(content, flags=flags)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 647, in _set_value
raise e
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 644, in _set_value
self._set_value_impl(value, flags)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/dictconfig.py", line 674, in _set_value_impl
data = get_structured_config_data(value, allow_objects=ao)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 495, in get_structured_config_data
return get_dataclass_data(obj, allow_objects=allow_objects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 411, in get_dataclass_data
format_and_raise(node=None, key=None, value=value, cause=e, msg=str(e))
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/home/drewp/.local/share/pdm/venvs/ComfyUI-kHMZhrrp-3.11/lib/python3.11/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
omegaconf.errors.ConfigValueError: Unions of containers are not supported:
ref_type: Union[Type[Any], Any]
full_key:
object_type=None
Prompt executed in 2.50 seconds
I had to slip some versions around to get it to install:
MusicgenGenerate fails with this:
I had to slip some versions around to get it to install: