easy way to fix the below error in comfyui please. Joycaptionload Some modules are…
- User
easy way to fix the below error in comfyui please.
Joy_caption_load Some modules are dispatched on the CPU or the disk. Make sure you have enough GPU RAM to fit the quantized model. If you want to dispatch the model on the CPU or the disk while keeping these modules in 32-bit, you need to set
llm_int8_enable_fp32_cpu_offload=Trueand pass a customdevice_maptofrom_pretrained. Check https://huggingface.co/docs/transformers/main/en/main_classes/quantization#offload-between-cpu-and-gpu for more details. - Assistant
The error message indicates that the model you're trying to load is hitting your GPU memory limit, or it's set to offload to the CPU or disk, which could be inefficient. To resolve this issue, you have a few options:
-
Increase GPU Memory Availability:
-