def METHOD_NAME(precision) -> int:
    trainer = get_trainer(precision)
    torch.cuda.empty_cache()
    torch.cuda.reset_peak_memory_stats()
    trainer.eval()
    return torch.cuda.max_memory_allocated()