print('In K-Sampler -> Step: ', current_step, ' of: ', data['max']) if message['type'] == 'execution_cached': data = message['data'] for itm in data['nodes']: if itm not in finished_nodes: finished_nodes.append(itm) print('Progess: ', len(finished_nodes), '/', len(...
server.send_sync("executed", { "node": unique_id, "display_node": display_node_id, "output": cached_output.get("output",None), "prompt_id": prompt_id }, server.client_id) return (ExecutionResult.SUCCESS, None, None) input_data_all = None ...
server.send_sync("executed", { "node": unique_id, "display_node": display_node_id, "output": cached_output.get("output",None), "prompt_id": prompt_id }, server.client_id) return (ExecutionResult.SUCCESS, None, None) input_data_all = None ...
print(f"新任务开始,成功发给服务端: {startEvent}") elif message_type == "execution_cached": # 该任务被缓存好的所有节点数组(服务端暂时不用,不用通知) pass elif message_type == "executing": # 该任务某个节点正在执行中(服务端暂时不用,不用通知) data = message_json.get("data", {}) ...
self.add_message("execution_start", { "prompt_id": prompt_id}, broadcast=False)with torch.inference_mode(): #delete cached outputs if nodes don't exist for them to_delete = [] for o in self.outputs: if o not in prompt: to_delete += [o] ...
execution_cached 在执行开始时 prompt_id, nodes (因为可以使用缓存输出而被跳过的节点列表) executing 当一个新节点即将被执行时 node (节点id或None表示完成), prompt_id executed 当一个节点返回ui元素时 node (节点id), prompt_id, output progress 在实现了所需钩子的节点执行期间 node (节点id), prompt...
不过前天分享的时候,就已经有大神把 Omost 集成到 ComfyUI 中了,只不过时间关系没来得及试,今天咱们就来补一下。 这个ComfyUI 插件补足了 Omost 没法选择绘画大模型的尴尬,嗯嗯,就是在 ComfyUI 中既可以得到 Omost 的扩展提示词的功能和空间构图能力,又能选择自己喜欢的大模型进行绘画,那是相当愉快有么有。
in _get_config_dict\n resolved_config_file = cached_file(\n", " File \"/root/.pyenv/versions/3.10.15/lib/python3.10/site-packages/transformers/utils/hub.py\", line 446, in cached_file\n raise EnvironmentError(\n" ], "current_inputs": { "sam_model": [ "sam_vit_h (2.56GB)" ...
Using cached wheel-0.45.1-py3-none-any.whl (72 kB) Installing collected packages: wheel, setuptools Creating C:\Users\Monday\AppData\Local\Temp\pip-build-env-da54lkae\overlay\Scripts Successfully installed setuptools-75.6.0 wheel-0.45.1 ...
server.send_sync("executed", { "node": unique_id, "display_node": display_node_id, "output": cached_output.get("output",None), "prompt_id": prompt_id }, server.client_id) return (ExecutionResult.SUCCESS, None, None) input_data_all = None ...