hl2dm
hl2dm
我也有相同的問題 似乎是modelscope 跟 pytorch 版本的錯題 沒有安裝 pytorch-lightning==1.6.5 這個版本 就當你沒裝跳錯 你裝了但是1.6.5吃不到cuda12.3 我在嘗試改用CPU也失敗 C:\Users\DM\anaconda3\envs\anytext\Lib\site-packages\modelscope\pipelines\nlp\translation_pipeline.py tf_config = tf.ConfigProto(allow_soft_placement=True) tf_config.gpu_options.allow_growth = True tf_config.device_count['GPU'] = 0 改了沒反應 刪除再安裝就好了
@thebazshah is work but 2024-09-10 17:39:10 nveagle-eagle-x5-13b-chat-1 | /usr/local/lib/python3.10/site-packages/transformers/generation/utils.py:1375: UserWarning: You have modified the pretrained model configuration to control generation. This is a deprecated strategy to control generation and will...
I have the same problem and would like to ask for help.