StartHua / Comfyui_CXH_joy_caption

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

Unused kwargs #4

Open realyn opened 3 months ago

realyn commented 3 months 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 3 months ago

重新装timm 0.6.13

realyn commented 3 months ago

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

StartHua commented 3 months ago

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

realyn commented 3 months ago

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

1761696257 commented 3 months 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 months ago

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