Skip to content

Commit ce0fdb0

Browse files
committed
Merge branch 'main' into fco/reproducibility_study
2 parents 238d59d + 54fc119 commit ce0fdb0

File tree

8 files changed

+359
-376
lines changed

8 files changed

+359
-376
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"

.github/workflows/code_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
run-code-check:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v4.2.1
29+
- uses: actions/checkout@v4.2.2
3030
- name: Install and configure Poetry
3131
uses: snok/install-poetry@v1
3232
with:
3333
virtualenvs-create: true
3434
virtualenvs-in-project: true
35-
- uses: actions/setup-python@v5.2.0
35+
- uses: actions/setup-python@v5.3.0
3636
with:
3737
python-version: '3.10'
3838
cache: 'poetry'

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
integration-tests:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v4.2.1
35+
- uses: actions/checkout@v4.2.2
3636
- name: Install and configure Poetry
3737
uses: snok/install-poetry@v1
3838
with:
3939
virtualenvs-create: true
4040
virtualenvs-in-project: true
41-
- uses: actions/setup-python@v5.2.0
41+
- uses: actions/setup-python@v5.3.0
4242
with:
4343
python-version: '3.10'
4444
cache: 'poetry'

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
run: |
1919
sudo apt-get update
2020
sudo apt-get install libcurl4-openssl-dev libssl-dev
21-
- uses: actions/checkout@v4.2.1
21+
- uses: actions/checkout@v4.2.2
2222
- name: Install poetry
2323
run: python3 -m pip install --upgrade pip && python3 -m pip install poetry
24-
- uses: actions/setup-python@v5.2.0
24+
- uses: actions/setup-python@v5.3.0
2525
with:
2626
python-version: '3.10'
2727
- name: Build package

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ repos:
1616
- id: check-toml
1717

1818
- repo: https://github.com/python-poetry/poetry
19-
rev: 1.8.3
19+
rev: 1.8.4
2020
hooks:
2121
- id: poetry-check
2222
args: [--lock]
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.6.9
25+
rev: v0.7.2
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]
@@ -31,13 +31,13 @@ repos:
3131
types_or: [ python, pyi, jupyter ]
3232

3333
- repo: https://github.com/crate-ci/typos
34-
rev: v1.26.0
34+
rev: v1.27.0
3535
hooks:
3636
- id: typos
3737
args: []
3838

3939
- repo: https://github.com/pre-commit/mirrors-mypy
40-
rev: v1.11.2
40+
rev: v1.13.0
4141
hooks:
4242
- id: mypy
4343
entry: mypy

mmlearn/modules/metrics/retrieval_recall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _is_distributed(self) -> bool:
100100
if self.distributed_available_fn is not None:
101101
distributed_available = self.distributed_available_fn
102102

103-
return distributed_available() if callable(distributed_available) else False # type: ignore[no-any-return]
103+
return distributed_available() if callable(distributed_available) else False
104104

105105
def update(self, x: torch.Tensor, y: torch.Tensor, indexes: torch.Tensor) -> None:
106106
"""Check shape, convert dtypes and add to accumulators.

poetry.lock

Lines changed: 323 additions & 351 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mmlearn"
3-
version = "0.1.0a0.dev7" # https://www.python.org/dev/peps/pep-0440/#version-schemes
3+
version = "0.1.0a0.dev8" # https://www.python.org/dev/peps/pep-0440/#version-schemes
44
description = "A modular framework for research on multimodal representation learning."
55
readme = "README.md"
66
authors = ["Vector AI Engineering <ai_engineering@vectorinstitute.ai>"]
@@ -17,21 +17,21 @@ pyarrow = "^17.0.0"
1717
hydra-core = "^1.3.2"
1818
hydra-zen = "^0.13.0"
1919
hydra-submitit-launcher = "^1.2.0"
20-
transformers = "^4.45.0"
20+
transformers = "^4.46.1"
2121
torch = "^2.4.1"
2222
lightning = "^2.4.0"
2323
pandas = {version="^2.2.3", extras=["performance"]}
24+
bottleneck = "^1.4.2"
2425
torchvision = "^0.19.1"
2526

2627
opencv-python = {version = "^4.10.0.84", optional = true}
27-
timm = {version = "^1.0.8", optional = true}
28+
timm = {version = "^1.0.11", optional = true}
2829
torchaudio = {version = "^2.4.1", optional = true}
29-
peft = {version = "^0.13.1", optional = true}
30-
30+
peft = {version = "^0.13.2", optional = true}
3131

3232
[tool.poetry.group.vision.dependencies]
3333
opencv-python = "^4.10.0.84"
34-
timm = "^1.0.9"
34+
timm = "^1.0.11"
3535

3636
[tool.poetry.group.audio.dependencies]
3737
torchaudio = "^2.4.1"
@@ -40,33 +40,33 @@ torchaudio = "^2.4.1"
4040
optional = true
4141

4242
[tool.poetry.group.peft.dependencies]
43-
peft = "^0.13.1"
43+
peft = "^0.13.2"
4444

4545
[tool.poetry.group.dev]
4646
optional = true
4747

4848
[tool.poetry.group.dev.dependencies]
49-
wandb = "^0.18.3"
49+
wandb = "^0.18.5"
5050
ipykernel = "^6.29.5"
51-
ipython = "8.28.0"
51+
ipython = "8.29.0"
5252
ipywidgets = "^8.1.5"
5353
h5py = "^3.12.1"
5454
scikit-learn = "^1.5.2"
5555
faiss-gpu = "^1.7.2"
56-
pip = "^24.2"
57-
datasets = "^3.0.1"
56+
pip = "^24.3.1"
57+
datasets = "^3.1.0"
5858

5959
[tool.poetry.group.test]
6060
optional = true
6161

6262
[tool.poetry.group.test.dependencies]
63-
ruff = "^0.6.9"
64-
mypy = "^1.11.2"
63+
ruff = "^0.7.2"
64+
mypy = "^1.13.0"
6565
pytest = "^8.3.3"
6666
pre-commit = "^4.0.1"
6767
nbqa = { version = "^1.9.0", extras = ["toolchain"] }
6868
pip-audit = "^2.7.3"
69-
typos = "^1.26.0"
69+
typos = "^1.27.0"
7070

7171
[tool.poetry.extras]
7272
peft = ["peft"]

0 commit comments

Comments
 (0)