From: Georgi Gerganov Date: Wed, 3 May 2023 15:43:23 +0000 (+0300) Subject: minor : fix trailing whitespaces X-Git-Tag: gguf-v0.4.0~809 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e2a937ca6abadc7e01e139db31e6db9dce16e3e9;p=pkg%2Fggml%2Fsources%2Fllama.cpp minor : fix trailing whitespaces --- diff --git a/scripts/verify-checksum-models.py b/scripts/verify-checksum-models.py index 811372e4..1f1b3d24 100644 --- a/scripts/verify-checksum-models.py +++ b/scripts/verify-checksum-models.py @@ -6,13 +6,13 @@ def sha256sum(file): b = bytearray(block_size) file_hash = hashlib.sha256() mv = memoryview(b) - with open(file, 'rb', buffering=0) as f: + with open(file, 'rb', buffering=0) as f: while True: n = f.readinto(mv) if not n: break file_hash.update(mv[:n]) - + return file_hash.hexdigest() # Define the path to the llama directory (parent folder of script directory)