]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
minor : fix trailing whitespaces
authorGeorgi Gerganov <redacted>
Wed, 3 May 2023 15:43:23 +0000 (18:43 +0300)
committerGeorgi Gerganov <redacted>
Wed, 3 May 2023 15:43:23 +0000 (18:43 +0300)
scripts/verify-checksum-models.py

index 811372e47001be6f12ad9657b5fb0016dc2f0fbf..1f1b3d24f67ab196d872008068593a47bf0e3793 100644 (file)
@@ -6,13 +6,13 @@ def sha256sum(file):
     b  = bytearray(block_size)\r
     file_hash = hashlib.sha256()\r
     mv = memoryview(b)\r
-    with open(file, 'rb', buffering=0) as f: \r
+    with open(file, 'rb', buffering=0) as f:\r
         while True:\r
             n = f.readinto(mv)\r
             if not n:\r
                 break\r
             file_hash.update(mv[:n])\r
-        \r
+\r
     return file_hash.hexdigest()\r
 \r
 # Define the path to the llama directory (parent folder of script directory)\r