mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-02 01:28:31 +00:00
[builder] builder for scaled_upper_triang_masked_softmax (#2234)
This commit is contained in:
@@ -324,7 +324,7 @@ def main():
|
||||
if n >= WARMUP_STEPS:
|
||||
tflops_list.append(step_tflops)
|
||||
|
||||
logger.info(f"max memory {torch.cuda.memory_allocated() / 1024**2} MB", ranks=[0])
|
||||
logger.info(f"max memory {torch.cuda.max_memory_allocated() / 1024**2} MB", ranks=[0])
|
||||
|
||||
tflops_list.sort()
|
||||
median_index = ((NUM_STEPS - WARMUP_STEPS) >> 1) + WARMUP_STEPS
|
||||
|
Reference in New Issue
Block a user