Skip to content

Commit 1aa3991

Browse files
authored
Merge branch 'main' into expose-libggml
2 parents c94bdc4 + 65222bc commit 1aa3991

File tree

4 files changed

+26
-9
lines changed

4 files changed

+26
-9
lines changed

.github/workflows/build-and-release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- uses: actions/checkout@v4
9393
with:
9494
submodules: "recursive"
95-
95+
9696
- uses: actions/setup-python@v5
9797
with:
9898
python-version: "3.9"
@@ -103,6 +103,7 @@ jobs:
103103
python -m pip install --upgrade pip
104104
python -m pip install uv
105105
RUST_LOG=trace python -m uv pip install -e .[all] --verbose
106+
python -m uv pip install build
106107
shell: bash
107108

108109
- name: Install dependencies (Windows)
@@ -113,12 +114,13 @@ jobs:
113114
python -m pip install --upgrade pip
114115
python -m pip install uv
115116
python -m uv pip install -e .[all] --verbose
117+
python -m uv pip install build
116118
shell: cmd
117-
119+
118120
- name: Build source distribution
119121
run: |
120122
python -m build --sdist
121-
123+
122124
- uses: actions/upload-artifact@v4
123125
with:
124126
name: sdist

.github/workflows/publish.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,36 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
submodules: "recursive"
16-
16+
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.9"
21-
21+
2222
- name: Install dependencies (Linux/MacOS)
2323
if: runner.os != 'Windows'
2424
run: |
2525
python -m pip install --upgrade pip
2626
python -m pip install uv
2727
RUST_LOG=trace python -m uv pip install -e .[all] --verbose
28+
python -m uv pip install build
2829
shell: bash
2930

3031
- name: Install dependencies (Windows)
3132
if: runner.os == 'Windows'
3233
env:
33-
RUST_LOG: trace
34+
RUST_LOG: trace
3435
run: |
3536
python -m pip install --upgrade pip
3637
python -m pip install uv
3738
python -m uv pip install -e .[all] --verbose
39+
python -m uv pip install build
3840
shell: cmd
39-
41+
4042
- name: Build source distribution
4143
run: |
4244
python -m build --sdist
43-
45+
4446
- name: Publish distribution to PyPI
4547
# TODO: move to tag based releases
4648
# if: startsWith(github.ref, 'refs/tags')

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0]
11+
12+
- feat: Update llama.cpp to ggerganov/llama.cpp@ea9c32be71b91b42ecc538bd902e93cbb5fb36cb
13+
- feat: Enable detokenizing special tokens with special=True by @benniekiss in #1596
14+
- feat(ci): Speed up CI workflows using uv, add support for CUDA 12.5 wheels by @Smartappli in e529940f45d42ed8aa31334123b8d66bc67b0e78
15+
- feat: Add loading sharded GGUF files from HuggingFace with Llama.from_pretrained(additional_files=[...]) by @Gnurro in 84c092063e8f222758dd3d60bdb2d1d342ac292e
16+
- feat: Add option to configure n_ubatch by @abetlen in 6c44a3f36b089239cb6396bb408116aad262c702
17+
- feat: Update sampling API for llama.cpp. Sampling now uses sampler chain by @abetlen in f8fcb3ea3424bcfba3a5437626a994771a02324b
18+
- fix: Don't store scores internally unless logits_all=True. Reduces memory requirements for large context by @abetlen in 29afcfdff5e75d7df4c13bad0122c98661d251ab
19+
- fix: Fix memory allocation of ndarray in by @xu-song in #1704
20+
- fix: Use system message in og qwen format by @abetlen in 98eb092d3c6e7c142c4ba2faaca6c091718abbb3
21+
22+
1023
## [0.2.90]
1124

1225
- feat: Update llama.cpp to ggerganov/llama.cpp@1d1ccce67613674c75c9c7e3fa4c1e24e428ba48

llama_cpp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .llama_cpp import *
22
from .llama import *
33

4-
__version__ = "0.2.90"
4+
__version__ = "0.3.0"

0 commit comments

Comments
 (0)