Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit90bbb5f

Browse files
authored
Move autogptq into its own req file (#1100)
1 parentfe86516 commit90bbb5f

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

‎packages/postgresml-python/build.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,19 @@ rm "$deb_dir/release.sh"
2929
(cat${SCRIPT_DIR}/DEBIAN/postrm| envsubst'${PGVERSION}')>"$deb_dir/DEBIAN/postrm"
3030

3131
cp${SCRIPT_DIR}/../../pgml-extension/requirements.txt"$deb_dir/etc/postgresml-python/requirements.txt"
32+
cp${SCRIPT_DIR}/../../pgml-extension/requirements-autogptq.txt"$deb_dir/etc/postgresml-python/requirements-autogptq.txt"
3233
cp${SCRIPT_DIR}/../../pgml-extension/requirements-xformers.txt"$deb_dir/etc/postgresml-python/requirements-xformers.txt"
3334

3435
virtualenv --python="python$PYTHON_VERSION""$deb_dir/var/lib/postgresml-python/pgml-venv"
3536
source"$deb_dir/var/lib/postgresml-python/pgml-venv/bin/activate"
3637

3738
python -m pip install -r"${deb_dir}/etc/postgresml-python/requirements.txt"
39+
40+
# No source included, can't build on non x86 platforms
41+
set +e
42+
python -m pip install -r"${deb_dir}/etc/postgresml-python/requirements-autogptq.txt"
43+
set -e
44+
3845
python -m pip install -r"${deb_dir}/etc/postgresml-python/requirements-xformers.txt" --no-dependencies
3946

4047
deactivate

‎pgml-dashboard/content/docs/guides/setup/v2/installation.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ To install the necessary Python packages into a virtual environment, use the `vi
6565
virtualenv pgml-venv&& \
6666
source pgml-venv/bin/activate&& \
6767
pip install -r requirements.txt&& \
68+
pip install -r requirements-autogptq.txt&& \
6869
pip install -r requirements-xformers.txt --no-dependencies
6970
```
7071

‎pgml-docs/docs/guides/developer-docs/installation.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ To install the necessary Python packages into a virtual environment, use the `vi
6464
virtualenv pgml-venv&& \
6565
source pgml-venv/bin/activate&& \
6666
pip install -r requirements.txt&& \
67+
pip install -r requirements-autogptq.txt&& \
6768
pip install -r requirements-xformers.txt --no-dependencies
6869
```
6970

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auto-gptq==0.4.2

‎pgml-extension/requirements.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
accelerate==0.22.0
2-
auto-gptq==0.4.2
32
bitsandbytes==0.41.1
43
catboost==1.2
54
ctransformers==0.2.27

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp