Skip to content

Conversation

@entn-at
Copy link
Contributor

@entn-at entn-at commented Feb 23, 2018

This fix passes --use-gpu=no to nnet3-combine and nnet3-chain-combine when --use-gpu is set to false in any of the python training scripts (train.py/train_dnn.py/train_rnn.py/train_raw_dnn.py/train_raw_rnn.py).

WARNING: I have not tested this fix yet (and probably won't be able to test it for all possible training scripts, as I don't have setups ready to run). Perhaps someone else can help with testing (though, not many people train on CPUs). While the changes seem relatively straightforward, there may be cases that I missed.

@danpovey
Copy link
Contributor

is this tested now?

@danpovey
Copy link
Contributor

Looks like it's tested. Merging.
Thanks a lot, @entn-at, for addressing this!

@danpovey danpovey merged commit 7e902f5 into kaldi-asr:master Feb 27, 2018
@entn-at
Copy link
Contributor Author

entn-at commented Feb 27, 2018

My apologies for not replying sooner. It took some time to create a test setup and have it run on CPUs (while using Kaldi compiled with CUDA enabled). It's running now (chain TDNN model training), so far it's working as intended.

@entn-at entn-at deleted the fix-nnet3-combine-cpu-only branch February 27, 2018 20:01
LvHang pushed a commit to LvHang/kaldi that referenced this pull request Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants