From: Jiří Podivín Date: Sun, 16 Jul 2023 19:54:47 +0000 (+0200) Subject: py : turn verify-checksum-models.py into executable (#2245) X-Git-Tag: gguf-v0.4.0~462 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=27ab66e437797aedbb23b3599385756b6c26ac39;p=pkg%2Fggml%2Fsources%2Fllama.cpp py : turn verify-checksum-models.py into executable (#2245) README.md was adjusted to reflect the change. Signed-off-by: Jiri Podivin --- diff --git a/README.md b/README.md index 476cc438..f45e4bf0 100644 --- a/README.md +++ b/README.md @@ -640,7 +640,7 @@ Please verify the [sha256 checksums](SHA256SUMS) of all downloaded model files t ```bash # run the verification script -python3 .\scripts\verify-checksum-models.py +./scripts/verify-checksum-models.py ``` - On linux or macOS it is also possible to run the following commands to verify if you have all possible latest files in your self-installed `./models` subdirectory: diff --git a/scripts/verify-checksum-models.py b/scripts/verify-checksum-models.py old mode 100644 new mode 100755 index d1274828..307b7c08 --- a/scripts/verify-checksum-models.py +++ b/scripts/verify-checksum-models.py @@ -1,3 +1,5 @@ +#!/bin/env python3 + import os import hashlib