Closed ask6155 closed 1 week ago
It's not a CUDA issue as such but the version of your GPU driver. Are you sure there isn't a current version available for it? Alternatively, you can install a CPU-only pytorch. If you use anaconda there is an environment file in the kraken repository `environment.yml' that installs without CUDA support. If you install with standard python tools just run:
pip3 install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
and ignore the warnings and everything will probably work.
on Pytorch's website the version of pytorch that supports CUDA 11.4 is 1.12.1
I dunno if Kraken will work with it.
I ran the command and got an error:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. kraken 5.2.9 requires torch~=2.1.0, but you have torch 2.5.1+cpu which is incompatible.
But I'm able to train so I think it's okay.
On 24/11/07 08:05AM, ask6155 wrote:
on Pytorch's website the version of pytorch that supports CUDA 11.4 is
1.12.1
I dunno if Kraken will work with it.
You can install a pytorch without CUDA support compiled from the website. Just select CPU as compute platform.
I ran the command and got an error:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. kraken 5.2.9 requires torch~=2.1.0, but you have torch 2.5.1+cpu which is incompatible.
But I'm able to train so I think it's okay.
Yes, as I said pip will throw warnings at you but everything probably still works. If something doesn work as expected you can install CPU-only version 2.1.x of pytorch following the instructions here [0].
Hello,
I have an old GPU and my CUDA version is 11.4. I think it is not supported by current PyTorch implementation. I'm running Kraken 5.2.9 and the command I'm running as a test is
ketos train -d cpu -f alto Kraken\ test\ 1.xml
The output log is:Now I don't really want to use CUDA if it's not possible. But for some reason I'm unable to make it use my CPU. I tried the
-d cpu
flag but it doesn't seem to work. Please guide me