This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| from safetensors import safe_open | |
| import torch | |
| parser = argparse.ArgumentParser(description='Compare two safetensors') | |
| parser.add_argument('tensor1', type=str, help='First tensor to compare') | |
| parser.add_argument('tensor2', type=str, help='Second tensor to compare') | |
| args = parser.parse_args() |