cerebras.modelzoo.tools.convert_checkpoint.diff_checkpoints_from_file#

cerebras.modelzoo.tools.convert_checkpoint.diff_checkpoints_from_file(file_left: str, file_right: str, tensor_comparison_op: str = 'equal') bool[source]#

Compare two checkpoints (left and right). Returns True if the dicts are the same.