Skip to content

Commit d19f1d4

Browse files
Combined installation of dependencies and benchmarking
1 parent fa966a0 commit d19f1d4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,19 @@ jobs:
5252
with:
5353
auto-update-conda: true
5454
python-version: ${{ matrix.python-version }}
55-
- name: Install LMI dependencies
55+
- name: Install dependencies and benchmark LMI
5656
shell: bash -el {0}
5757
run: |
58+
# Install dependencies
5859
conda create -n lmi -y python=3.11
5960
conda activate lmi
6061
conda install -c pytorch -y faiss-cpu=1.8.0
6162
conda install h5py=3.11.0
6263
pip install --no-cache-dir numpy==1.26.4 tqdm==4.66.4 loguru==0.7.2 scikit-learn==1.5.1
6364
pip install --no-cache-dir torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu
64-
- name: Benchmark LMI
65-
shell: bash -el {0}
66-
run: |
65+
# Benchmark
6766
pwd
68-
ls -l
67+
ls -l
6968
ls -l data2024
7069
# Parameters for 300K:
7170
python3 task1.py --dataset-size ${DBSIZE} --sample-size 100000 --chunk-size 100000 &>task1.log

0 commit comments

Comments
 (0)