]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
use weights_only in conversion script (#32)
authordeepdiffuser <redacted>
Sun, 12 Mar 2023 06:36:35 +0000 (22:36 -0800)
committerGitHub <redacted>
Sun, 12 Mar 2023 06:36:35 +0000 (08:36 +0200)
commita93120236f99e13d77e4b278e47ffcaad4a899e4
treebc7e56a73dd33589d0b5897006550b9161e8a0ed
parent6a9a67f0bee5eed67cf8bf03f74f77619da40d3f
use weights_only in conversion script (#32)

this restricts malicious weights from executing arbitrary code by restricting the unpickler to only loading tensors, primitive types, and dictionaries
convert-pth-to-ggml.py