Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anytext是不是不能在Windows11上运行呢?只能Linux? #34

Open
chaorenai opened this issue Jan 5, 2024 · 1 comment
Open

Comments

@chaorenai
Copy link

家人们,谁懂啊?

显卡4090,cuda12.3,死活跑不起来…

@hl2dm
Copy link

hl2dm commented Jan 7, 2024

我也有相同的問題 似乎是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
    改了沒反應
    
    刪除再安裝就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants