huntzhan / pytorch-fast-elmo

A Fast ELMo Implementation. (NOT MAINTAIN ANYMORE)
MIT License
38 stars 9 forks source link

Benchmark #1

Closed huntzhan closed 5 years ago

huntzhan commented 5 years ago

Commands for the benchmark:

fast-elmo profile-full fast-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --cuda --profiler --profiler-dump ./profile/fast-elmo.txt

fast-elmo profile-full fast-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --cuda --cuda-synchronize --profiler --profiler-dump ./profile/fast-elmo-synchronize.txt

fast-elmo profile-full allennlp-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --cuda --profiler --profiler-dump ./profile/allennlp-elmo.txt

fast-elmo profile-full allennlp-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --cuda --cuda-synchronize --profiler --profiler-dump ./profile/allennlp-elmo-synchronize.txt

fast-elmo profile-full fast-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --profiler --profiler-dump ./profile/fast-elmo-cpu.txt

fast-elmo profile-full allennlp-elmo ./elmo_2x4096_512_2048cnn_2xhighway_options.json ./elmo_2x4096_512_2048cnn_2xhighway_weights.hdf5 --profiler --profiler-dump ./profile/allennlp-elmo-cpu.txt