Open jarmud opened 3 weeks ago
same problem
Likely needs the newer transformers version: https://github.com/StartHua/Comfyui_CXH_joy_caption/issues/46#issuecomment-2339304976
Likely needs the newer transformers version: #46 (comment)
I have already updated my transformers to version 4.44.2, but it still doesn't work and show the same problem as above:(rope_scaling must be a dictionary with two fields, type and factor, got {'factor': 8.0, 'high_freq_factor': 4.0, 'low_freq_factor': 1.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'})
It is not only the problem of the version of transformers,the best way to solove the problem:(rope_scaling must be a dictionary with two fields, type and factor, got {'factor': 8.0, 'high_freq_factor': 4.0, 'low_freq_factor': 1.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}) 不仅仅是transformers 版本的问题,上面这个问题,要跑一下插件目录里的这个bat文件,安装环境
is to run the .bat file below,
that means you have aligned all the environments requirements for this project.
after doing this,my problem has been soloved 运行完了,我的问题就解决了
I gave up, it should be due to a conflict between my environmental dependence and my previous comfyui. After running the bat installation, it can indeed be used normally, but the images generated by other processes have turned pure black,
rope_scaling
must be a dictionary with two fields,type
andfactor
, got {'factor': 8.0, 'high_freq_factor': 4.0, 'low_freq_factor': 1.0, 'original_max_position_embeddings': 8192, 'rope_type': 'llama3'}