-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可灵tex2img报错'NoneType' object has no attribute 'enable_model_cpu_offload',请大哥给看一下 #102
Comments
你的是苹果吗?按理这是能跑通的 |
model_loader_utils.py的kolor_loader方法 txt2img类型没有return pipe,所以外边调用报错,加上return解决了
|
底部的return缩进错误,谢谢指正,已修改。 |
您好,我也出现了可灵tex2img报错'NoneType' object has no attribute 'enable_model_cpu_offload'错误,我也根据您的方法修改了,但是现在出现新的错误: ComfyUI Error ReportError Details
Stack Trace
System Information
Devices
Logs
Attached WorkflowPlease make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context(Please add any additional context or steps to reproduce the error here) |
ComfyUI Error ReportError Details
Stack Trace
System Information
Devices
Logs
Attached WorkflowPlease make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context(Please add any additional context or steps to reproduce the error here) |
的确有问题,忘记删代码了。谢谢测试,已修复 |
ComfyUI Error ReportError Details
Stack Trace
System Information
Devices
Logs
Attached WorkflowPlease make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context(Please add any additional context or steps to reproduce the error here) |
可能是版本太高 |
大佬我能不能加您V,我太想用可灵模型了,但是安装了好久都没有成功,想您帮忙检查下问题在哪里。我在B站也关注了您。 |
把你微信发我邮箱[email protected],我正准备修改可灵的代码呢,不过先帮你解决掉问题吧 |
Prompt executed in 4.15 seconds
got prompt
Process using 1 roles,mode is txt2img....
total_vram is 16375.5,aggressive_offload is True,offload is True
start kolor processing...
loader story_maker processing...
!!! Exception during processing !!! 'NoneType' object has no attribute 'enable_model_cpu_offload'
Traceback (most recent call last):
File "D:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 323, 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 "D:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 198, 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 "D:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\ComfyUI\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "D:\ComfyUI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_StoryDiffusion\Storydiffusion_node.py", line 1393, in story_model_loader
pipe.enable_model_cpu_offload()
AttributeError: 'NoneType' object has no attribute 'enable_model_cpu_offload'
The text was updated successfully, but these errors were encountered: