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

Your session has crashed for an unknown reason #296

Open
Marcel0504 opened this issue Feb 7, 2025 · 3 comments
Open

Your session has crashed for an unknown reason #296

Marcel0504 opened this issue Feb 7, 2025 · 3 comments

Comments

@Marcel0504
Copy link

Dear Mahmoud,

Thank you so much for your work! Your Colab Notebook has already saved me a lot of time.

Unfortunatley, I can not use it anymore because any time I try to run the transcription cell I get the error "Your session has crashed for an unknown reason". No matter which model size I use or also if I disable Stemming.

I think it may be particular this code which produces the error:

else:
    transcript_segments, info = whisper_model.transcribe(
        audio_waveform,
        language,
        suppress_tokens=suppress_tokens,
        without_timestamps=True,
        vad_filter=True,
    )

full_transcript = "".join(segment.text for segment in transcript_segments)

Would be greatly appreciated if this could be resolved!

Thank you very much!

@MahmoudAshraf97
Copy link
Owner

Hello, most probably there is a problem with cuda compatibility with other libraries especially ctranslate2

@Marcel0504
Copy link
Author

Hello, thank you for the fast reply!
Do you have an idea how to resolve this for use in Google Colab?

@dertob
Copy link

dertob commented Feb 19, 2025

@Marcel0504 Did you find a solution or replacement? I'm getting the same crash message and I'am unfortunatly dependend on Colab at the moment.

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

3 participants