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

Share how to install successful "ctcdecode" #229

Open
jeonhuhuhu opened this issue Feb 19, 2024 · 6 comments
Open

Share how to install successful "ctcdecode" #229

jeonhuhuhu opened this issue Feb 19, 2024 · 6 comments

Comments

@jeonhuhuhu
Copy link

jeonhuhuhu commented Feb 19, 2024

After much struggle with installation, I am now sharing a definitive environment.
This is undoubtedly a solid environment where the ctcdecode module works reliably.

"I have confirmed that the installation was successful after repeating the installation process five times consecutively in the same environment."
Screenshot from 2024-02-19 15-23-35

The installation environment is as follows:"

[INSTALLATION]

  1. conda create -n [name] python=3.8
  2. conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 pytorch-cuda=12.1 -c pytorch -c nvidia

*But, torchdata 0.7.1 requires torch>=2, but you have torch 1.12.0 which is incompatible.

@qianzhouyi2
Copy link

That works!Thank you!

@nofreewill42
Copy link

Can confirm, thanks!

image

([name]) lol xD

@rigved-desai
Copy link

rigved-desai commented Mar 31, 2024

Can confirm, thanks!

image

([name]) lol xD

Hello, could you please let me know what were the exact steps you followed to install this? Is it necessary to use conda here or can I use pip as well? Currently using docker to create the same env as mentioned in op.

@nofreewill42
Copy link

Hey there! I've literally just copy pasted OP's step 1 and 2 from:

[INSTALLATION]

conda create -n [name] python=3.8
conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 pytorch-cuda=12.1 -c pytorch -c nvidia

And then ran

pip install .

because that's what I saw on their terminal.

You might want to try creating a very new conda environment for this. And btw if you update some of the requirements ctcdecode has, it probably won't work anymore.

@yulrio
Copy link

yulrio commented May 24, 2024

Is it possible to install ctcdecode without having a Cuda GPU?
Thank You

@yeeching0571
Copy link

I changed the system image to Ubuntu 22.0+ version, then ran "pip install torch==2.0.0" It's solved.

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

6 participants