Nuked88 / ComfyUI-N-Nodes

A suite of custom nodes for ConfyUI that includes GPT text-prompt generation, LoadVideo, SaveVideo, LoadFramesFromFolder and FrameInterpolator
MIT License
206 stars 22 forks source link

'Logger' object has no attribute 'fileno' #5

Closed vivi-gomez closed 1 year ago

vivi-gomez commented 1 year ago

I am using ubuntu 22.04. I dont know what this error is about. I tried loading ggml and gguf checkpoints (bin, gguf) with the same results

Error occurred when executing GPT Loader Simple:

'Logger' object has no attribute 'fileno'

File "-----------/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "-----------/ComfyUI/execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "-----------/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "-----------/ComfyUI/custom_nodes/ComfyUI-N-Nodes/py/gptcpp_node.py", line 51, in load_gpt_checkpoint llm = Llama(model_path=ckpt_path,n_gpu_layers=gpu_layers,verbose=False,n_threads=n_threads, n_ctx=max_ctx, ) File "-----------/ComfyUI/venv/lib/python3.10/site-packages/llama_cpp/llama.py", line 284, in init with suppress_stdout_stderr(): File "-----------/ComfyUI/venv/lib/python3.10/site-packages/llama_cpp/utils.py", line 11, in enter self.old_stdout_fileno_undup = sys.stdout.fileno()

theelefant commented 1 year ago

See my answer here.