MinusZoneAI / ComfyUI-Prompt-MZ

基于llama.cpp的一些和提示词相关的节点,目前包括美化提示词和类似clip-interrogator的图片反推 | Use llama.cpp to assist in generating some nodes related to prompt words, including beautifying prompt words and image recognition similar to clip-interrogator
GNU General Public License v3.0
83 stars 6 forks source link

ComfyUI-Prompt-MZ/mz_llama3.py", line 93, in query_beautify_prompt_text if response["description"] != "": KeyError: 'description' #6

Closed arixlin closed 2 months ago

wailovet commented 2 months ago

Does this happen occasionally or every time?

cardenluo commented 2 months ago

image me too , it does not work .

wailovet commented 2 months ago

Will the error still occur if you try again after updating?

arixlin commented 2 months ago

@wailovet 回退了好几个版本 还是会发生, 最新版本错误


2024-04-28 11:40:48,632- root:450- INFO- got prompt
2024-04-28 11:40:48,635- root:667- ERROR- Failed to validate prompt for output 6:
2024-04-28 11:40:48,635- root:687- ERROR- * MZ_LLama3CLIPTextEncode 4:
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: prompt_version
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: keep_device
2024-04-28 11:40:48,635- root:691- ERROR- Output will be ignored
2024-04-28 11:40:48,635- root:482- WARNING- invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
wailovet commented 2 months ago

@wailovet 回退了好几个版本 还是会发生, 最新版本错误


2024-04-28 11:40:48,632- root:450- INFO- got prompt
2024-04-28 11:40:48,635- root:667- ERROR- Failed to validate prompt for output 6:
2024-04-28 11:40:48,635- root:687- ERROR- * MZ_LLama3CLIPTextEncode 4:
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: prompt_version
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: keep_device
2024-04-28 11:40:48,635- root:691- ERROR- Output will be ignored
2024-04-28 11:40:48,635- root:482- WARNING- invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

最新的节点的输入有修改,你需要删除一下然后重新创建下节点

arixlin commented 2 months ago

@wailovet 回退了好几个版本 还是会发生, 最新版本错误


2024-04-28 11:40:48,632- root:450- INFO- got prompt
2024-04-28 11:40:48,635- root:667- ERROR- Failed to validate prompt for output 6:
2024-04-28 11:40:48,635- root:687- ERROR- * MZ_LLama3CLIPTextEncode 4:
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: prompt_version
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: keep_device
2024-04-28 11:40:48,635- root:691- ERROR- Output will be ignored
2024-04-28 11:40:48,635- root:482- WARNING- invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

最新的节点的输入有修改,你需要删除一下然后重新创建下节点

有的新的报错 AttributeError: module 'llama_cpp' has no attribute 'LLAMA_SPLIT_MODE_LAYER' 工程的的llama_cpp需要哪个版本

wailovet commented 2 months ago

@wailovet 回退了好几个版本 还是会发生, 最新版本错误


2024-04-28 11:40:48,632- root:450- INFO- got prompt
2024-04-28 11:40:48,635- root:667- ERROR- Failed to validate prompt for output 6:
2024-04-28 11:40:48,635- root:687- ERROR- * MZ_LLama3CLIPTextEncode 4:
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: prompt_version
2024-04-28 11:40:48,635- root:689- ERROR-   - Required input is missing: keep_device
2024-04-28 11:40:48,635- root:691- ERROR- Output will be ignored
2024-04-28 11:40:48,635- root:482- WARNING- invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}

最新的节点的输入有修改,你需要删除一下然后重新创建下节点

有的新的报错 AttributeError: module 'llama_cpp' has no attribute 'LLAMA_SPLIT_MODE_LAYER' 工程的的llama_cpp需要哪个版本

目前用的是 0.2.63