use Flops Profiler
to test model.generate()
#2515
Merged
Flops Profiler
to test model.generate()
#2515