|
From my experience more than 16 threads
per moses process causes performance to decrease. I have 64 cores,
too. I use GNU parallel to get around this.
cat input.txt | parallel --pipe -k -j 4 ./mosesdecoder/bin/moses -f moses.ini -threads 16 > out.txt This launches 4 moses processes a 16 threads and translates blocks of roughly 1MB per processes. You only see output after a block has been translated. You can set block size by using for instance --block 10K , then it will create and kill the moses processes much faster and output intermediate results. You can get GNU parallel from http://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2 . Make sure to delete /etc/parallel/config after installation. Best, Marcin W dniu 15.01.2014 08:24, Hansung Cho pisze:
|
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support


