chaojie / ComfyUI-DynamiCrafter

Other
126 stars 6 forks source link

Please help me to see what the problem is? In addition, where should the ckpt file be placed? Thank you. #6

Open Llin1028 opened 8 months ago

Llin1028 commented 8 months ago

Snipaste_2024-02-29_15-29-17

Error occurred when executing DynamiCrafterLoader:

An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\custom_nodes\ComfyUI-DynamiCrafter\nodes.py", line 24, in run_inference image2video = Image2Video('./tmp/', resolution=resolution,frame_length=frame_length) File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\custom_nodes\ComfyUI-DynamiCrafter\scripts\gradio\i2v_test.py", line 20, in init self.download_model() File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\custom_nodes\ComfyUI-DynamiCrafter\scripts\gradio\i2v_test.py", line 107, in download_model hf_hub_download(repo_id=REPO_ID, filename=filename, local_dir=modelspath+'checkpoints/dynamicrafter'+str(self.resolution[1])+'_v1/', local_dir_use_symlinks=False) File "", line 52, in hf_hub_download_wrapper_inner File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\python\lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, **kwargs) File "I:\0ComfyUI_12.2\ComfyUI_windows_portable\python\lib\site-packages\huggingface_hub\file_download.py", line 1371, in hf_hub_download raise LocalEntryNotFoundError(

figurehunt commented 8 months ago

It seems to be put at this place: C:\ComfyUI_windows_portable\ComfyUI\models\checkpoints\dynamicrafter_1024_v1

It can work, but tell me out of CUDA memory even while I am using 4090!

Hope the later update come and solve...

If you can solve it, hope you kindly tell me! thank you!

Llin1028 commented 8 months ago

Oh my god, it took 1300 seconds for this thing to spawn.

Thank you very much, it is already usable.

The graphics card I use is also 4090, and there have been no CUDA issues until now.

figurehunt commented 8 months ago

Oh, I still stucked at the 576_1024 resolution on 4090..... torch.cuda.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 11.01 GiB Requested : 25.31 GiB Device limit : 23.99 GiB

confused!!!

lipeng1109 commented 8 months ago

Oh, I still stucked at the 576_1024 resolution on 4090..... torch.cuda.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 11.01 GiB Requested : 25.31 GiB Device limit : 23.99 GiB

confused!!!

zixian-wu commented 7 months ago

I had the same problem at the 576_1024&320_512 on A100... torch.cuda.OutOfMemoryError: Allocation on device 0 would exceed allowed memory. (out of memory) Currently allocated : 6.80 GiB Requested : 193.00 MiB Device limit : 79.15 GiB Free (according to CUDA): 16.50 MiB PyTorch limit (set by user-supplied memory fraction) : 17179869184.00 GiB