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()