Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions .github/workflows/dataset_loading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- name: Set up Python
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- uses: actions/setup-python@v6
Expand All @@ -51,7 +52,7 @@ jobs:
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d

- name: Install dependencies
run: uv sync --group docs
run: uv sync --frozen --group docs

- name: Build
run: make build-docs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/leaderboard_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- name: Set up Python
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- uses: actions/setup-python@v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/model_loading.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- name: Set up Python
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/reference_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
with:
python-version: '3.11'
enable-cache: true
prune-cache: false

- name: Install FFmpeg
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg8
sudo apt-get update
sudo apt-get install -y ffmpeg

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
prune-cache: false
version: "0.10.12"

# required for evaluation the audio subset
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/typechecking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
prune-cache: false
version: "0.10.12"

- uses: actions/setup-python@v6
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update_leaderboard_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ jobs:
uses: astral-sh/setup-uv@v7
with:
python-version: "3.10"
enable-cache: true
prune-cache: false
version: "0.10.12"

- name: Install mteb
run: uv sync
run: uv sync --frozen

- name: Generate model list
run: uv run python scripts/generate_leaderboard_models.py > leaderboard_models.py
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
install:
@echo "--- 🚀 Installing project dependencies ---"
uv sync --extra image --group dev
uv sync --frozen --extra image --group dev

install-for-tests:
@echo "--- 🚀 Installing project dependencies for test ---"
@echo "This ensures that the project is not installed in editable mode"
uv sync --extra bm25s --extra image --extra audio --extra leaderboard --extra faiss-cpu --extra github --group dev
uv sync --frozen --extra bm25s --extra image --extra audio --extra leaderboard --extra faiss-cpu --extra github --group dev

lint:
@echo "--- 🧹 Running linters ---"
Expand Down Expand Up @@ -52,7 +52,7 @@ serve-docs:

model-load-test:
@echo "--- 🚀 Running model load test ---"
uv sync --extra pylate --group dev
uv sync --frozen --extra pylate --group dev
uv run --no-sync python scripts/extract_model_names.py $(BASE_BRANCH) --return_one_model_name_per_file
uv run --no-sync python tests/test_models/model_loading.py --model_name_file scripts/model_names.txt

Expand Down
12,540 changes: 6,873 additions & 5,667 deletions uv.lock

Large diffs are not rendered by default.

Loading