From ccff6c7fb212e5d9540cc6d841e92f390c79f118 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Sat, 13 Jul 2024 23:21:38 +1000 Subject: [PATCH] convert-*.py: remove reference to uuid generation --- convert_hf_to_gguf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 9a58caf67..37b4462d3 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -403,10 +403,6 @@ class Model: if len(self.gguf_writer.tensors) != 1: raise ValueError('Splitting the vocabulary is not supported') - if self.metadata.uuid is None: - # Required tensor data least for uuid generation if in vocab_only mode - self.prepare_tensors() - self.prepare_key_value_store() self.gguf_writer.write_header_to_file() self.gguf_writer.write_kv_data_to_file()