1[tool.poetry]
 2name = "llama-cpp-scripts"
 3version = "0.0.0"
 4description = "Scripts that ship with llama.cpp"
 5authors = ["GGML <ggml@ggml.ai>"]
 6readme = "README.md"
 7homepage = "https://ggml.ai"
 8repository = "https://github.com/ggml-org/llama.cpp"
 9keywords = ["ggml", "gguf", "llama.cpp"]
10packages = [{ include = "*.py", from = "." }]
11classifiers = [
12    "Programming Language :: Python :: 3",
13    "License :: OSI Approved :: MIT License",
14    "Operating System :: OS Independent",
15]
16
17[tool.poetry.dependencies]
18python = ">=3.9"
19numpy = "^1.25.0"
20sentencepiece = ">=0.1.98,<0.3.0"
21transformers = ">=4.35.2,<5.0.0"
22protobuf = ">=4.21.0,<5.0.0"
23gguf = { path = "./gguf-py" }
24torch = { version = "^2.2.0", source = "pytorch" }
25
26[tool.poetry.dev-dependencies]
27pytest = "^5.2"
28
29
30# Force wheel + cpu
31# For discussion and context see https://github.com/python-poetry/poetry#6409
32[[tool.poetry.source]]
33name = "pytorch"
34url = "https://download.pytorch.org/whl/cpu"
35priority = "explicit"
36
37[build-system]
38requires = ["poetry-core>=1.0.0"]
39build-backend = "poetry.core.masonry.api"
40
41[tool.poetry.scripts]
42llama-convert-hf-to-gguf = "convert_hf_to_gguf:main"
43llama-convert-lora-to-gguf = "convert_lora_to_gguf:main"
44llama-convert-llama-ggml-to-gguf = "convert_llama_ggml_to_gguf:main"
45llama-ggml-vk-generate-shaders = "ggml_vk_generate_shaders:main"