Felipe97/llama-cpp-compiled
01.1k
1[project]2name = "llama-cpp-scripts"3description = "Scripts that ship with llama.cpp"4keywords = ["ggml", "gguf", "llama.cpp"]5version = "0.0.0"6dynamic = ["classifiers"]7readme = "README.md"8authors = [{name = "GGML", email = "ggml@ggml.ai"}]9requires-python = '>=3.10,<3.15'10dependencies = [11 'numpy (>=2.2.6,<3.0.0)',12 'sentencepiece (>=0.1.98,<0.3.0)',13 'transformers (==4.57.6)',14 'protobuf (>=4.21.0,<5.0.0)',15 'torch (>=2.6.0,<3.0.0)',16 'gguf @ ./gguf-py',17]18classifiers = [19 "Programming Language :: Python :: 3",20 "License :: OSI Approved :: MIT License",21 "Operating System :: OS Independent",22]23 24[project.urls]25homepage = "https://ggml.ai"26repository = "https://github.com/ggml-org/llama.cpp"27 28[project.scripts]29llama-convert-hf-to-gguf = "convert_hf_to_gguf:main"30llama-convert-lora-to-gguf = "convert_lora_to_gguf:main"31llama-convert-llama-ggml-to-gguf = "convert_llama_ggml_to_gguf:main"32llama-ggml-vk-generate-shaders = "ggml_vk_generate_shaders:main"33 34[tool.poetry]35packages = [36 { include = "*.py", from = "." },37 { include = "conversion", from = "." },38]39 40[tool.poetry.dependencies]41torch = [42 { version = "==2.11.0", source = "pypi", markers = "sys_platform == 'darwin'" },43 { version = "==2.11.0+cpu", source = "pytorch", markers = "sys_platform == 'linux'" },44 { version = "==2.11.0", source = "pypi", markers = "sys_platform == 'win32'" },45]46 47[tool.poetry.group.dev.dependencies]48pytest = "~=8.3.3"49 50# Force wheel + cpu51# For discussion and context see https://github.com/python-poetry/poetry#640952[[tool.poetry.source]]53name = "pytorch"54url = "https://download.pytorch.org/whl/cpu"55priority = "explicit"56 57[tool.uv.sources]58torch = { index = "pytorch" }59 60[[tool.uv.index]]61name = "pytorch"62url = "https://download.pytorch.org/whl/cpu"63explicit = true64 65[build-system]66requires = ["poetry-core>=1.0.0"]67build-backend = "poetry.core.masonry.api"68 