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

use requirements.txt#613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
montanalow merged 1 commit intomasterfrommontana/requirements
May 3, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion.github/workflows/ci.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -27,7 +27,7 @@ jobs:
pkg-config \
python3-pip \
python3
sudo pip3 installxgboost lightgbm scikit-learn
sudo pip3 install-r requirements.txt
- name: Cache dependencies
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletionpgml-docs/docs/developer_guide/overview.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,7 +49,7 @@ The development environment for each differs slightly, but overall we use Python
With Python 3.7+ installed, install the package dependencies

```commandline
sudo pip3 installxgboost lightgbm scikit-learn
sudo pip3 install-r pgml-extension/requirements.txt
```

5. Clone our git repository:
Expand Down
2 changes: 1 addition & 1 deletionpgml-extension/Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,7 +32,6 @@ RUN apt update && apt-fast install -y \
python3-pip \
libpython3.10-dev \
python3.10-dev
RUN pip3 install xgboost scikit-learn torch lightgbm transformers datasets sentence_transformers
RUN useradd postgresml -m -s /bin/bash -G sudo
RUN echo 'postgresml ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER postgresml
Expand All@@ -45,3 +44,4 @@ RUN sudo apt update
RUN sudo apt-get install -y postgresql-15 postgresql-13 postgresql-12 postgresql-11
RUN sudo apt install -y postgresql-server-dev-15 postgresql-server-dev-15 postgresql-server-dev-12 postgresql-server-dev-11
WORKDIR /app
RUN pip3 install -r requirements.txt
3 changes: 1 addition & 2 deletionspgml-extension/Dockerfile.local
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,10 +11,9 @@ RUN cat /etc/apt/sources.list
RUN apt-get update && apt-get install -y postgresql-pgml-14

# Cache this, quicker
RUN pip3 install xgboost scikit-learn diptest torch lightgbm transformers datasets sentencepiece sentence_transformers sacremoses sacrebleu rouge

COPY --chown=postgres:postgres . /app
WORKDIR /app
RUN pip3 install -r requirements.txt

# Listen on 0.0.0.0 and allow 'root' to connect without a password.
# Please modify for production deployments accordingly.
Expand Down
3 changes: 2 additions & 1 deletionpgml-extension/requirements.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
accelerate==0.16.0
datasets==2.10.1
deepspeed==0.8.1
InstructorEmbedding
lightgbm
pandas==1.5.3
rich==13.3.1
rouge
sacrebleu
sacremoses
scikit-learn
sentencepiece
sentence-transformers==2.2.2
Expand All@@ -15,4 +17,3 @@ torchvision==0.14.1
tqdm==4.64.1
transformers==4.26.1
xgboost
InstructorEmbedding

[8]ページ先頭

©2009-2025 Movatter.jp