diff options
author | KASR <karim.asrih@gmail.com> | 2023-05-03 17:31:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 18:31:28 +0300 |
commit | b0c71c7b6dc0c0adb507d78f401e95e7ab0f5a38 (patch) | |
tree | eb622de196bed36a2fd48f888cdb64199b0e7df9 /.devops | |
parent | a8a2efdc8161d4f69a0dd863e741c11fbd5df85c (diff) |
scripts : platform independent script to verify sha256 checksums (#1203)
* python script to verify the checksum of the llama models
Added Python script for verifying SHA256 checksums of files in a directory, which can run on multiple platforms. Improved the formatting of the output results for better readability.
* Update README.md
update to the readme for improved readability and to explain the usage of the python checksum verification script
* update the verification script
I've extended the script based on suggestions by @prusnak
The script now checks the available RAM, is there is enough to check the file at once it will do so. If not the file is read in chunks.
* minor improvment
small change so that the available ram is checked and not the total ram
* remove the part of the code that reads the file at once if enough ram is available
based on suggestions from @prusnak i removed the part of the code that checks whether the user had enough ram to read the entire model at once. the file is now always read in chunks.
* Update verify-checksum-models.py
quick fix to pass the git check
Diffstat (limited to '.devops')
0 files changed, 0 insertions, 0 deletions