Open chenminglin opened 2 months ago
同一个错误,求解
同一个错误,求解
安装4.44.0版本的transformers正常了
pip install transformers==4.44.0
同一个错误,求解
安装4.44.0版本的transformers正常了
pip install transformers==4.44.0
更新到4.44.0,更新到最新也不行。
更新到4.44.2一样也不行,4.43.4只能用florence2 (CXH_DownloadAndLoadFlorence2Model)这一个,Min2_6和Joy_caption都不行
Error occurred when executing Joy_caption_load:
No package metadata was found for bitsandbytes
File "E:\ComfyUI-aki-v1.3\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.3\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "E:\ComfyUI-aki-v1.3\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "E:\ComfyUI-aki-v1.3\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) File "E:\ComfyUI-aki-v1.3\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 117, in gen self.loadCheckPoint() File "E:\ComfyUI-aki-v1.3\custom_nodes\Comfyui_CXH_joy_caption\Joy_caption_node.py", line 92, in loadCheckPoint text_model = AutoModelForCausalLM.from_pretrained(MODEL_PATH, device_map="auto",trust_remote_code=True) File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 564, in from_pretrained return model_class.from_pretrained( File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 3344, in from_pretrained config.quantization_config = AutoHfQuantizer.merge_quantization_configs( File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\quantizers\auto.py", line 161, in merge_quantization_configs quantization_config = AutoQuantizationConfig.from_dict(quantization_config) File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\quantizers\auto.py", line 91, in from_dict return target_cls.from_dict(quantization_config_dict) File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\utils\quantization_config.py", line 97, in from_dict config = cls(config_dict) File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\utils\quantization_config.py", line 400, in init self.post_init() File "E:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\utils\quantization_config.py", line 458, in post_init if self.load_in_4bit and not version.parse(importlib.metadata.version("bitsandbytes")) >= version.parse( File "E:\ComfyUI-aki-v1.3\python\lib\importlib\metadata__init__.py", line 996, in version return distribution(distribution_name).version File "E:\ComfyUI-aki-v1.3\python\lib\importlib\metadata__init.py", line 969, in distribution return Distribution.from_name(distribution_name) File "E:\ComfyUI-aki-v1.3\python\lib\importlib\metadata\init__.py", line 548, in from_name raise PackageNotFoundError(name)