
----------------------------------------------Summary-----------------------------------------------
batch_size_per_gpu: 1
seq_len: 512
tp_size: 1
pp_size: 1
num_tokens_to_generate: 32
use_kv_cache: True
kv_cache_memory_per_gpu: 356.52 MB
kv_cache_latency: 349.7 us
layernorm_dtype_bytes: 2
embedding_memory_per_gpu: 524.29 MB
weight_memory_per_gpu: 32.74 GB
prefill_max_batch_size_per_gpu: 9
prefill_activation_memory_per_gpu: 5.03 GB
prefill_num_flops_fwd_total: 66.93 T
decode_max_batch_size_per_gpu: 129
decode_activation_memory_per_gpu: 7.21 MB
decode_num_flops_fwd_total: 129.38 G
prefill_latency: 55.2 ms
prefill_latency_fwd_attn: 18.17 ms
prefill_latency_fwd_mlp: 35.24 ms
prefill_latency_fwd_layernorm: 1.32 ms
prefill_latency_fwd_tp_comm: 0.0 us
prefill_latency_fwd_input_embedding: 257.13 us
prefill_latency_fwd_output_embedding_loss: 215.09 us
decode_latency: 16.41 ms
decode_latency_fwd_attn: 5.27 ms
decode_latency_fwd_mlp: 10.53 ms
decode_latency_fwd_layernorm: 2.57 us
decode_latency_fwd_tp_comm: 0.0 us
decode_latency_fwd_input_embedding: 257.13 us
decode_latency_fwd_output_embedding_loss: 0.42 us
total_decode_latency: 525.12 ms
total_latency: 580.32 ms
total_per_token_latency: 18.14 ms
----------------------------------------------------------------------------------------------------
