Load Checkpoints
Hi guys,
Any guy have an error as below when running pod serverless, please help me!
2024-07-15T10:18:06.705127324Z WARNING path /runpod-volume/ComfyUI/models/checkpoints/sd_xl_base_1.0.safetensors exists but doesn't link anywhere, skipping.
2024-07-15T10:18:06.706905707Z !!! Exception during processing!!! 'NoneType' object has no attribute 'lower'
2024-07-15T10:18:06.707992200Z Traceback (most recent call last):
2024-07-15T10:18:06.708006381Z File "/runpod-volume/ComfyUI/execution.py", line 151, in recursive_execute
2024-07-15T10:18:06.708010251Z output_data, output_ui = get_output_data(obj, input_data_all)
2024-07-15T10:18:06.708012691Z File "/runpod-volume/ComfyUI/execution.py", line 81, in get_output_data
2024-07-15T10:18:06.708015461Z return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
2024-07-15T10:18:06.708018691Z File "/runpod-volume/ComfyUI/execution.py", line 74, in map_node_over_list
2024-07-15T10:18:06.708021681Z results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
2024-07-15T10:18:06.708024171Z File "/runpod-volume/ComfyUI/nodes.py", line 517, in load_checkpoint
2024-07-15T10:18:06.708027301Z out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings"))
2024-07-15T10:18:06.708030661Z File "/runpod-volume/ComfyUI/comfy/sd.py", line 500, in load_checkpoint_guess_config
2024-07-15T10:18:06.708033251Z sd = comfy.utils.load_torch_file(ckpt_path)
2024-07-15T10:18:06.708035611Z File "/runpod-volume/ComfyUI/comfy/utils.py", line 14, in load_torch_file
2024-07-15T10:18:06.708038121Z if ckpt.lower().endswith(".safetensors"):
2024-07-15T10:18:06.708040731Z AttributeError: 'NoneType' object has no attribute 'lower'
5 Replies
2024-07-15T10:18:06.708040731Z AttributeError: 'NoneType' object has no attribute 'lower'
what model were you loading?
i load sd_xl_base_1.0.safetensors in CheckpointLoaderSimple
I don't get that error while using the same model in comfyui, with that loader node
perhaps there's something to do with this? WARNING path /runpod-volume/ComfyUI/models/checkpoints/sd_xl_base_1.0.safetensors exists but doesn't link anywhere, skipping.
i using network storage and config extra model as below
runpod_worker_comfy:
base_path: /runpod-volume
checkpoints: ComfyUI/models/checkpoints/
clip: ComfyUI/models/clip/
clip_vision: ComfyUI/models/clip_vision/
configs: ComfyUI/models/configs/
controlnet: ComfyUI/models/controlnet/
embeddings: ComfyUI/models/embeddings/
loras: ComfyUI/models/loras/
upscale_models: ComfyUI/models/upscale_models/
vae: ComfyUI/models/vae/
that may means its an empty link ( im not sure where the file should be )
try to redownload the model to that path