Skip to content

Commit ae57bac

Browse files
authored
Mistral AI and GGUF support (#1125)
1 parent 0e93914 commit ae57bac

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

.github/workflows/ubuntu-packages-and-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
packageVersion:
7-
default: "2.7.12"
7+
default: "2.7.13"
88
jobs:
99
#
1010
# PostgresML extension.

.github/workflows/ubuntu-postgresml-python-package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
packageVersion:
7-
default: "2.7.12"
7+
default: "2.7.13"
88

99
jobs:
1010
postgresml-python:

packages/postgresml/DEBIAN/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Version: ${PACKAGE_VERSION}
33
Section: database
44
Priority: optional
55
Architecture: all
6-
Depends: postgresml-python (>= 2.7.12), postgresql-pgml-${PGVERSION} (>= ${PACKAGE_VERSION})
6+
Depends: postgresml-python (>= 2.7.13), postgresql-pgml-${PGVERSION} (>= ${PACKAGE_VERSION})
77
Maintainer: PostgresML <team@postgresml.org>
88
Homepage: https://postgresml.org
99
Description: PostgresML - Generative AI and Simple ML inside PostgreSQL

pgml-extension/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-extension/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pgml"
3-
version = "2.7.12"
3+
version = "2.7.13"
44
edition = "2021"
55

66
[lib]

pgml-extension/requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ sacremoses==0.0.53
1616
scikit-learn==1.3.0
1717
sentencepiece==0.1.99
1818
sentence-transformers==2.2.2
19-
tokenizers==0.13.3
19+
tokenizers==0.14.1
2020
torch==2.0.1
2121
torchaudio==2.0.2
2222
torchvision==0.15.2
2323
tqdm==4.66.1
24-
transformers==4.33.1
24+
transformers==4.34.1
2525
xgboost==2.0.0
2626
langchain==0.0.287
2727
einops==0.6.1
2828
pynvml==11.5.0
29+
transformers-stream-generator==0.0.4
30+
optimum==1.13.2

pgml-extension/sql/pgml--2.7.12--2.7.13.sql

Whitespace-only changes.

pgml-extension/src/bindings/transformers/transformers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def create_pipeline(task):
197197
lower = model_name.lower()
198198
else:
199199
lower = None
200-
if lower and "-ggml" in lower:
200+
if lower and ("-ggml" in lower or "-gguf" in lower):
201201
pipe = GGMLPipeline(model_name, **task)
202202
elif lower and "-gptq" in lower:
203203
pipe = GPTQPipeline(model_name, **task)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy