]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
*.py: Stylistic adjustments for python (#8233)
authorJiří Podivín <redacted>
Mon, 22 Jul 2024 13:44:53 +0000 (15:44 +0200)
committerGitHub <redacted>
Mon, 22 Jul 2024 13:44:53 +0000 (23:44 +1000)
commit566daa5a5b38018b2727950bbd280239adb981b6
tree5838b18d901ec33089cfe98801b9ca92a31825dd
parent6f11a83e4e7700fdf353ed4a29599cb662c792f6
*.py: Stylistic adjustments for python (#8233)

* Superflous parens in conditionals were removed.
* Unused args in function were removed.
* Replaced unused `idx` var with `_`
* Initializing file_format and format_version attributes
* Renaming constant to capitals
* Preventing redefinition of the `f` var

Signed-off-by: Jiri Podivin <redacted>
convert_hf_to_gguf.py
convert_hf_to_gguf_update.py
convert_llama_ggml_to_gguf.py