-
Notifications
You must be signed in to change notification settings - Fork 2
Description
魔塔那边模型更新后模型文件结构变了,节点能维护更新下吗?
在新电脑上运行节点会在下载模型后先报找不到cosyvoice.yaml,现在的模型文件名字是cosyvoice2.yaml
如果把新模型的文件改名字,则会报下列错误
Sliding Window Attention is enabled but not implemented for sdpa; unexpected results may be encountered.
!!! Exception during processing !!! There is no such class as cosyvoice.flow.decoder.CausalConditionalDecoder
Traceback (most recent call last):
File "F:\comfyui\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfyui\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\comfyui\execution.py", line 174, in map_node_over_list
process_inputs(input_dict, i)
File "F:\comfyui\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FunAudioLLM_V2\nodes\cosyvoice_nodes.py", line 89, in generate
cosyvoice = CosyVoice2(model_dir)
^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI-FunAudioLLM_V2\cosyvoice\cli\cosyvoice.py", line 136, in init
configs = load_hyperpyyaml(f, overrides={'qwen_pretrain_path': os.path.join(model_dir, 'CosyVoice-BlankEN')})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 188, in load_hyperpyyaml
hparams = yaml.load(yaml_stream, Loader=loader)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\yaml_init.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 116, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 120, in construct_document
data = self.construct_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 633, in construct_yaml_map
value = self.construct_mapping(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 480, in _construct_object
args, kwargs = _load_node(loader, node)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 434, in _load_node
kwargs = loader.construct_mapping(node, deep=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 480, in _construct_object
args, kwargs = _load_node(loader, node)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 434, in _load_node
kwargs = loader.construct_mapping(node, deep=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 429, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 244, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\ruamel\yaml\constructor.py", line 183, in construct_non_recursive_object
data = constructor(self, tag_suffix, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\miniconda3\Lib\site-packages\hyperpyyaml\core.py", line 472, in _construct_object
raise ImportError("There is no such class as %s" % callable_string)
ImportError: There is no such class as cosyvoice.flow.decoder.CausalConditionalDecoder