Skip to content

Commit d5f3fbf

Browse files
VJHackmglambda
authored andcommitted
gguf-py : move scripts directory (ggml-org#11116)
* Moved scripts dir and fixed pyproject.toml * updated readme * fixed README urls * bump pypi gguf to v0.14.0 * retrigger ci * empty commit - trigger ci
1 parent a079d10 commit d5f3fbf

8 files changed

+9
-10
lines changed

gguf-py/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ pip install gguf
1515

1616
[examples/writer.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/examples/writer.py) — Generates `example.gguf` in the current directory to demonstrate generating a GGUF file. Note that this file cannot be used as a model.
1717

18-
[scripts/gguf_dump.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/scripts/gguf_dump.py) — Dumps a GGUF file's metadata to the console.
18+
[gguf/scripts/gguf_dump.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/gguf/scripts/gguf_dump.py) — Dumps a GGUF file's metadata to the console.
1919

20-
[scripts/gguf_set_metadata.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/scripts/gguf_set_metadata.py) — Allows changing simple metadata values in a GGUF file by key.
20+
[gguf/scripts/gguf_set_metadata.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/gguf/scripts/gguf_set_metadata.py) — Allows changing simple metadata values in a GGUF file by key.
2121

22-
[scripts/gguf_convert_endian.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/scripts/gguf_convert_endian.py) — Allows converting the endianness of GGUF files.
22+
[gguf/scripts/gguf_convert_endian.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/gguf/scripts/gguf_convert_endian.py) — Allows converting the endianness of GGUF files.
2323

24-
[scripts/gguf_new_metadata.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/scripts/gguf_new_metadata.py) — Copies a GGUF file with added/modified/removed metadata values.
24+
[gguf/scripts/gguf_new_metadata.py](https://github.com/ggerganov/llama.cpp/blob/master/gguf-py/gguf/scripts/gguf_new_metadata.py) — Copies a GGUF file with added/modified/removed metadata values.
2525

2626
## Development
2727
Maintainers who participate in development of this package are advised to install it in editable mode:
File renamed without changes.
File renamed without changes.
File renamed without changes.

gguf-py/pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tool.poetry]
22
name = "gguf"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
description = "Read and write ML models in GGUF for GGML"
55
authors = ["GGML <[email protected]>"]
66
packages = [
77
{include = "gguf"},
88
{include = "gguf/py.typed"},
9-
{include = "scripts"},
109
]
1110
readme = "README.md"
1211
homepage = "https://ggml.ai"
@@ -33,7 +32,7 @@ requires = ["poetry-core>=1.0.0"]
3332
build-backend = "poetry.core.masonry.api"
3433

3534
[tool.poetry.scripts]
36-
gguf-convert-endian = "scripts:gguf_convert_endian_entrypoint"
37-
gguf-dump = "scripts:gguf_dump_entrypoint"
38-
gguf-set-metadata = "scripts:gguf_set_metadata_entrypoint"
39-
gguf-new-metadata = "scripts:gguf_new_metadata_entrypoint"
35+
gguf-convert-endian = "gguf.scripts:gguf_convert_endian_entrypoint"
36+
gguf-dump = "gguf.scripts:gguf_dump_entrypoint"
37+
gguf-set-metadata = "gguf.scripts:gguf_set_metadata_entrypoint"
38+
gguf-new-metadata = "gguf.scripts:gguf_new_metadata_entrypoint"

0 commit comments

Comments
 (0)