Skip to content

Commit 6dfda8c

Browse files
committed
Merge branch 'gabi/update_v1.1' into gabi/update_v1.1_a
2 parents bd9c477 + ecdf1b8 commit 6dfda8c

5 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
- uses: actions/checkout@v5
2525
with:
2626
ref: ${{ github.event.inputs.tag || github.ref }}
27-
27+
2828
- name: Set up Python
2929
uses: actions/setup-python@v5
3030
with:
31-
python-version: "3.12"
31+
python-version: ".python-version"
3232

3333
- name: Verify version matches tag
3434
run: |

.github/workflows/tests.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
name: Test with torch-cpu
13+
name: Tests
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -28,11 +28,8 @@ jobs:
2828

2929
- name: Install dependencies
3030
run: |
31-
# Install with CPU-only torch (suitable for CI)
3231
uv sync --python 3.12 --extra dev
3332
source .venv/bin/activate
34-
# Install the project itself
35-
uv pip install -e .
3633
3734
- name: Run tests (without weights)
3835
run: |

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__pycache__/
2-
**.egg-info
2+
**/*.egg-info/
33
# we ignore the lockfile since
44
# we have gpu and cpu installations.
55
uv.lock

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.12

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To install dependencies:
2323
```
2424
git clone git@github.com:allenai/olmoearth_pretrain_minimal.git
2525
cd olmoearth_pretrain_minimal
26-
uv sync --python 3.12
26+
uv sync
2727
```
2828
uv installs everything into a venv, so to keep using python commands you can activate uv's venv: `source .venv/bin/activate`. Otherwise, swap to `uv run python`.
2929

0 commit comments

Comments
 (0)