Skip to content

Commit 0ea6207

Browse files
author
Montana Low
committed
tested on macos
1 parent 39ccb68 commit 0ea6207

File tree

2 files changed

+21
-36
lines changed

2 files changed

+21
-36
lines changed

pgml-extension/requirements.macos.txt

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ accelerate==0.25.0
22
aiohttp==3.9.1
33
aiosignal==1.3.1
44
annotated-types==0.6.0
5-
anyio==4.1.0
6-
async-timeout==4.0.3
5+
anyio==4.2.0
76
attrs==23.1.0
8-
auto-gptq==0.5.1
97
bitsandbytes==0.41.3.post2
108
catboost==1.2.2
119
certifi==2023.11.17
@@ -18,17 +16,14 @@ ctransformers==0.2.27
1816
cycler==0.12.1
1917
dataclasses-json==0.6.3
2018
datasets==2.15.0
21-
deepspeed==0.12.4
19+
deepspeed==0.12.5
2220
dill==0.3.7
2321
einops==0.7.0
24-
exceptiongroup==1.2.0
2522
filelock==3.13.1
26-
fonttools==4.46.0
27-
frozenlist==1.4.0
23+
fonttools==4.47.0
24+
frozenlist==1.4.1
2825
fsspec==2023.10.0
29-
gekko==1.0.6
3026
graphviz==0.20.1
31-
greenlet==3.0.2
3227
hjson==3.1.0
3328
huggingface-hub==0.19.4
3429
humanfriendly==10.0
@@ -39,10 +34,10 @@ joblib==1.3.2
3934
jsonpatch==1.33
4035
jsonpointer==2.4
4136
kiwisolver==1.4.5
42-
langchain==0.0.350
43-
langchain-community==0.0.3
37+
langchain==0.0.351
38+
langchain-community==0.0.4
4439
langchain-core==0.1.1
45-
langsmith==0.0.70
40+
langsmith==0.0.72
4641
lightgbm==4.1.0
4742
lxml==4.9.3
4843
MarkupSafe==2.1.3
@@ -56,28 +51,16 @@ networkx==3.2.1
5651
ninja==1.11.1.1
5752
nltk==3.8.1
5853
numpy==1.26.2
59-
nvidia-cublas-cu12==12.1.3.1
60-
nvidia-cuda-cupti-cu12==12.1.105
61-
nvidia-cuda-nvrtc-cu12==12.1.105
62-
nvidia-cuda-runtime-cu12==12.1.105
63-
nvidia-cudnn-cu12==8.9.2.26
64-
nvidia-cufft-cu12==11.0.2.54
65-
nvidia-curand-cu12==10.3.2.106
66-
nvidia-cusolver-cu12==11.4.5.107
67-
nvidia-cusparse-cu12==12.1.0.106
68-
nvidia-nccl-cu12==2.18.1
69-
nvidia-nvjitlink-cu12==12.3.101
70-
nvidia-nvtx-cu12==12.1.105
71-
optimum==1.13.2
54+
optimum==1.16.1
7255
orjson==3.9.10
7356
packaging==23.2
7457
pandas==2.1.4
75-
peft==0.6.2
58+
peft==0.7.1
7659
Pillow==10.1.0
7760
plotly==5.18.0
7861
portalocker==2.8.2
7962
protobuf==4.25.1
80-
psutil==5.9.6
63+
psutil==5.9.7
8164
py-cpuinfo==9.0.0
8265
pyarrow==11.0.0
8366
pyarrow-hotfix==0.6
@@ -106,18 +89,16 @@ tabulate==0.9.0
10689
tenacity==8.2.3
10790
threadpoolctl==3.2.0
10891
tokenizers==0.15.0
109-
torch==2.1.1
110-
torchaudio==2.1.1
111-
torchvision==0.16.1
92+
torch==2.1.2
93+
torchaudio==2.1.2
94+
torchvision==0.16.2
11295
tqdm==4.66.1
113-
transformers==4.36.1
96+
transformers==4.36.2
11497
transformers-stream-generator==0.0.4
115-
triton==2.1.0
11698
typing-inspect==0.9.0
11799
typing_extensions==4.9.0
118100
tzdata==2023.3
119101
urllib3==2.1.0
120-
xformers==0.0.23
121102
xgboost==2.0.2
122103
xxhash==3.4.1
123-
yarl==1.9.4
104+
yarl==1.9.4

pgml-extension/requirements.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# The immediate dependencies of PostgresML are maintained here.
22
# See requirements.linux.txt or requirements.macos.txt for complete and locked versions.
33

4+
# Python 3.12 can't currently resolve all dependencies:
5+
# catboost fails to build
6+
# virtualenv -p python3.11 pgml-venv
7+
48
# Specifically locked to avoid known bugs
59
pyarrow==11.0.0 # newer versions cause Postgres segfaults on OOM
610

@@ -14,7 +18,7 @@ xgboost
1418

1519
# Transformers
1620
accelerate
17-
auto-gptq; sys_platform == 'linux'
21+
auto-gptq; sys_platform == 'linux' # only runs on nvidia hardware
1822
bitsandbytes
1923
ctransformers
2024
huggingface-hub
@@ -25,7 +29,7 @@ peft
2529
tokenizers
2630
transformers
2731
transformers-stream-generator
28-
xformers; sys_platform == 'linux'
32+
xformers; sys_platform == 'linux' # only runs on nvidia hardware
2933

3034
# Embeddings
3135
InstructorEmbedding

0 commit comments

Comments
 (0)