marian-nmt / marian

Fast Neural Machine Translation in C++
https://marian-nmt.github.io
Other
1.22k stars 228 forks source link

Documentation for cpu translation #328

Closed Bachstelze closed 4 years ago

Bachstelze commented 4 years ago

The current documentation declares different states for the cpu translation.

https://marian-nmt.github.io/docs/#translation Currently, marian-decoder supports only translation on GPUs. A CPU version of Marian is planned.

https://marian-nmt.github.io/docs/cmd/ marian-decoder: CPU and GPU translation using NMT models trained with Marian.

Or do I confuse it with amun?

emjotde commented 4 years ago

Oh, interesting how that slipped through. We had CPU translation (and training and scoring) in Marian since early 2018. Thanks for pointing this out. Just use --cpu-threads N to parallelize over input batches.

Bachstelze commented 4 years ago

OK, thanks for the quick response.

snukky commented 4 years ago

Fixed. Thanks!