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

程序异常退出 #25

Closed
1Wayne1 opened this issue May 8, 2024 · 9 comments
Closed

程序异常退出 #25

1Wayne1 opened this issue May 8, 2024 · 9 comments

Comments

@1Wayne1
Copy link

1Wayne1 commented May 8, 2024

Snipaste_2024-05-08_22-12-18
程序运行时崩溃,我的cuda版本为11.7

@ultrasev
Copy link
Owner

ultrasev commented May 8, 2024

有其他报错信息吗?

@1Wayne1
Copy link
Author

1Wayne1 commented May 8, 2024

有其他报错信息吗?

没有,你用的cuda版本是多少?faster-whisper版本还是0.10.0吗?我在faster-whisper项目中发现有人跟我一样的问题,但没找到解决办法

@ultrasev
Copy link
Owner

ultrasev commented May 8, 2024

我是用cpu运行的,没用cuda。faster-whisper==0.10.0 ,你把device 改成 cpu 看看能跑不,确定一下是不是cuda的问题。
image

@1Wayne1
Copy link
Author

1Wayne1 commented May 8, 2024

我是用cpu运行的,没用cuda。faster-whisper==0.10.0 ,你把device 改成 cpu 看看能跑不,确定一下是不是cuda的问题。 image

cpu可以跑

@ultrasev
Copy link
Owner

ultrasev commented May 8, 2024

用的什么模型,large?,gpu 什么型号,有没有可能显存占用过多?

@1Wayne1
Copy link
Author

1Wayne1 commented May 8, 2024

用的什么模型,large?,gpu 什么型号,有没有可能显存占用过多?

应该就是cuda或者torch的问题。模型我从大到小都试过了,都会出错
显卡是3060ti 8G显存

@1Wayne1
Copy link
Author

1Wayne1 commented May 9, 2024

SYSTRAN/faster-whisper#71
这是我看到的原项目中的讨论,看样子是还没找到原因在哪

@1Wayne1
Copy link
Author

1Wayne1 commented May 9, 2024

问题解决了,我用这条命令重装了pytorch
conda install pytorch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 pytorch-cuda=11.7 -c pytorch -c nvidia

@ultrasev
Copy link
Owner

ultrasev commented May 9, 2024

重装大法好。

@1Wayne1 1Wayne1 closed this as completed May 9, 2024
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