mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	 69050a11be
			
		
	
	69050a11be
	
	
	
		
			
			* Refactor gguf scripts to improve metadata handling Added contents method to ReaderField class Added endianess property to GGUFReader class * update scripts * fix import * remove unused import * attempt to work around flake and pyright errors * second attempt * give up, ignore type * bump version * apply newbyteorder fixes
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [tool.poetry]
 | |
| name = "gguf"
 | |
| version = "0.16.0"
 | |
| description = "Read and write ML models in GGUF for GGML"
 | |
| authors = ["GGML <ggml@ggml.ai>"]
 | |
| packages = [
 | |
|     {include = "gguf"},
 | |
|     {include = "gguf/py.typed"},
 | |
| ]
 | |
| readme = "README.md"
 | |
| homepage = "https://ggml.ai"
 | |
| repository = "https://github.com/ggml-org/llama.cpp"
 | |
| keywords = ["ggml", "gguf", "llama.cpp"]
 | |
| classifiers = [
 | |
|     "Programming Language :: Python :: 3",
 | |
|     "License :: OSI Approved :: MIT License",
 | |
|     "Operating System :: OS Independent",
 | |
| ]
 | |
| 
 | |
| [tool.poetry.dependencies]
 | |
| python = ">=3.8"
 | |
| numpy = ">=1.17"
 | |
| tqdm = ">=4.27"
 | |
| pyyaml = ">=5.1"
 | |
| sentencepiece = ">=0.1.98,<=0.2.0"
 | |
| 
 | |
| [tool.poetry.dev-dependencies]
 | |
| pytest = "^5.2"
 | |
| 
 | |
| [build-system]
 | |
| requires = ["poetry-core>=1.0.0"]
 | |
| build-backend = "poetry.core.masonry.api"
 | |
| 
 | |
| [tool.poetry.scripts]
 | |
| gguf-convert-endian = "gguf.scripts:gguf_convert_endian_entrypoint"
 | |
| gguf-dump = "gguf.scripts:gguf_dump_entrypoint"
 | |
| gguf-set-metadata = "gguf.scripts:gguf_set_metadata_entrypoint"
 | |
| gguf-new-metadata = "gguf.scripts:gguf_new_metadata_entrypoint"
 |