Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

CUDA not available. Unable to train #19

Closed
ishwara-bhat opened this issue Jul 4, 2018 · 1 comment
Closed

CUDA not available. Unable to train #19

ishwara-bhat opened this issue Jul 4, 2018 · 1 comment

Comments

@ishwara-bhat
Copy link

ishwara-bhat commented Jul 4, 2018

Hi,
when I run
"python train.py --data data/negotiate --cuda --bsz 16 --clip 0.5 --decay_every 1 --decay_rate 5.0 --dropout 0.5 --init_range 0.1 --lr 1 --max_epoch 30 --min_lr 0.01 --momentum 0.1 --nembed_ctx 64 --nembed_word 256 --nesterov --nhid_attn 256 --nhid_ctx 64 --nhid_lang 128 --nhid_sel 256 --nhid_strat 128 --sel_weight 0.5 --model_file sv_model.th"

I get the assertion fail error that CUDA not available. I do not have GPU on my machine. CUDA wont work due to that.

Is there any way forward for training without GPU?

Thanks for the help.

@ishwara-bhat ishwara-bhat changed the title CUDA not available CUDA not available. Unable to train Jul 4, 2018
@denisyarats
Copy link
Contributor

Hi, if you don't have GPU on your machine, then you should remove --cuda flag from your arguments.

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

No branches or pull requests

2 participants