StartHua / Comfyui_CXH_joy_caption

Recommended based on comfyui node pictures:Joy_caption + MiniCPMv2_6-prompt-generator + florence2
Apache License 2.0
247 stars 13 forks source link

Unused kwargs #4

Open realyn opened 4 weeks ago

realyn commented 4 weeks ago

E:\ComfyUI\models\LLM\Meta-Llama-3.1-8B-bnb-4bit Unused kwargs: ['_load_in_4bit', '_load_in_8bit', 'quant_method']. These kwargs are not used in <class 'transformers.utils.quantization_config.BitsAndBytesConfig'>.

transformers version 4.44 or 4.43, this warning message appears, but the program can run smoothly.

StartHua commented 4 weeks ago

重新装timm 0.6.13

realyn commented 4 weeks ago

timm downgraded from 1.0.8 back to 0.6.13, but the problem remains.

StartHua commented 4 weeks ago

You can try upgrading the transformers to the latest version to ensure it is at least 4.43.0

realyn commented 4 weeks ago

I mentioned at the beginning that I have tested 4.44 and 4.43 separately.

1761696257 commented 3 weeks ago

I also encountered the same problem. I still had this error after reinstalling timm 0.6.13 and upgrading to transformers4.43.

DrJKL commented 3 weeks ago

https://github.com/huggingface/transformers/issues/29736