LykosAI / StabilityMatrix

Multi-Platform Package Manager for Stable Diffusion
https://lykos.ai
GNU Affero General Public License v3.0
4.45k stars 287 forks source link

Styles: Prompt Expansion error #843

Closed nyukers closed 1 week ago

nyukers commented 1 month ago

{ "prompt_id": "c3488f4b-3bc1-4872-bb87-c381675414b1", "node_id": "PromptExpansion_Positive", "node_type": "Inference_Core_PromptExpansion", "executed": [], "exception_message": "can\u0027t set attribute \u0027device\u0027", "exception_type": "AttributeError", "traceback": [ " File \u0022D:\Matrix\Data\Packages\ComfyUI\execution.py\u0022, line 316, in execute\n 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)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\execution.py\u0022, line 191, in get_output_data\n 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)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\execution.py\u0022, line 168, in _map_node_over_list\n process_inputs(input_dict, i)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\execution.py\u0022, line 157, in process_inputs\n results.append(getattr(obj, func)(*inputs))\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch\utils\_contextlib.py\u0022, line 115, in decorate_context\n return func(args, **kwargs)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\prompt_expansion\prompt_expansion.py\u0022, line 174, in expand_prompt\n expansion_part = expansion(part, seed)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\prompt_expansion\prompt_expansion.py\u0022, line 72, in call\n model_management.load_model_gpu(self.patcher)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\comfy\model_management.py\u0022, line 541, in load_model_gpu\n return load_models_gpu([model])\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\comfy\model_management.py\u0022, line 527, in load_models_gpu\n cur_loaded_model = loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\comfy\model_management.py\u0022, line 323, in model_load\n self.model.unpatch_model(self.model.offload_device)\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\comfy\model_patcher.py\u0022, line 619, in unpatch_model\n self.model.device = device_to\n", " File \u0022D:\Matrix\Data\Packages\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py\u0022, line 1754, in setattr\n super().setattr(name, value)\n" ], "current_inputs": { "model_name": [ "GPT-Prompt-Expansion-Fooocus-v2\pytorch_model.bin" ], "text": [ "fantasy queen,blue hair" ], "seed": [ 1448028569 ], "log_prompt": [ true ] }, "current_outputs": [ "VAEDecode_1", "NegativeCLIP_Base", "EmptyLatentImage", "CheckpointLoader_Base", "SaveImage", "PromptExpansion_Positive", "Sampler", "PositiveCLIP_Base" ], "timestamp": 1723899232367 }

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

github-actions[bot] commented 1 week ago

This issue was closed because it has been stale for 5 days with no activity.