]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
gguf.py : fix CI for publishing GGUF package (#3532)
authorM. Yusuf Sarıgöz <redacted>
Sat, 7 Oct 2023 19:14:10 +0000 (22:14 +0300)
committerGitHub <redacted>
Sat, 7 Oct 2023 19:14:10 +0000 (22:14 +0300)
* Fix CI for publishing GGUF package

* Bump version

* fix

* bump version

* bump version

* bump version

.github/workflows/gguf-publish.yml
gguf-py/README.md
gguf-py/pyproject.toml

index e61bfc6c32b608af29452380b3236f99bec9aa55..57db175122c0358dfbf44a5c4b4ad75e77016f50 100644 (file)
@@ -36,8 +36,9 @@ jobs:
         poetry install
 
     - name: Build package
-      run: poetry build
+      run: cd gguf-py && poetry build
     - name: Publish package
       uses: pypa/gh-action-pypi-publish@release/v1
       with:
         password: ${{ secrets.PYPI_API_TOKEN }}
+        packages-dir: gguf-py/dist
index ffe25c495ab1ec04f36f7b97e9b50ad646ddc249..a28d8c57adc7d010a108a94a150b6511c64c9eca 100644 (file)
@@ -69,4 +69,3 @@ python -m twine upload dist/*
 ## TODO
 - [ ] Add tests
 - [ ] Include conversion scripts as command line entry points in this package.
-- Add CI workflow for releasing the package.
index 400607ce1dc30176ec43ba0d6b04cfcda2319ec5..07a7ab4dd11fc6f108ce0c77f91365210df9d507 100644 (file)
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "gguf"
-version = "0.4.0"
+version = "0.4.4"
 description = "Write ML models in GGUF for GGML"
 authors = ["GGML <ggml@ggml.ai>"]
 packages = [