summaryrefslogtreecommitdiff
path: root/examples/server/utils.hpp
diff options
context:
space:
mode:
authorcompilade <git@compilade.net>2024-06-08 22:34:29 -0400
committerGitHub <noreply@github.com>2024-06-09 12:34:29 +1000
commited9f2521185706481501a5e6d5315397b11802ff (patch)
treea3cc323be80d09efdcccc7ea34ac74cc4190859e /examples/server/utils.hpp
parentfe1e3917cfa0f9397a765cfd0aef880674d938d5 (diff)
gguf-py : decouple adding metadata from writing in GGUFWriter (#7827)
Main changes of this PR is to consolidate GGUFWriter.add_key and GGUFWriter.add_val into GGUFWriter.add_key_value. In addition use_temp_file is now opt-in instead of opt-out defaulting to False. Also GGUFWriter now does not require output file name until when actually writing to it. And GGUFWriter doesn't really need to eagerly prepare the data layout of the metadata
Diffstat (limited to 'examples/server/utils.hpp')
0 files changed, 0 insertions, 0 deletions