From de1890ad52d1e7e629b928432ff0f4bacb42071e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Wed, 3 Apr 2024 15:40:35 +0200 Subject: [PATCH 1/2] Drop test xfail (#1239) --- tests/data/test_tinystories.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/data/test_tinystories.py b/tests/data/test_tinystories.py index d0318995bf..bfb009c1a9 100644 --- a/tests/data/test_tinystories.py +++ b/tests/data/test_tinystories.py @@ -16,7 +16,6 @@ def fake_chunk(path, data): optimize(fn=tokenize, inputs=[data] * len(data), output_dir=str(path), num_workers=1, chunk_bytes="200MB") -@pytest.mark.xfail(raises=IndexError, strict=True) # requires https://github.com/Lightning-AI/litdata/pull/77 @pytest.mark.parametrize( ("max_seq_len", "expected"), [ From 72c42fcc4d010efcfe418322e06531a47b9f06f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Wed, 3 Apr 2024 15:53:23 +0200 Subject: [PATCH 2/2] uv no longer requires editable installs (#1187) --- .github/workflows/cpu-tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cpu-tests.yml b/.github/workflows/cpu-tests.yml index 5f43634679..bb3b85c3e6 100644 --- a/.github/workflows/cpu-tests.yml +++ b/.github/workflows/cpu-tests.yml @@ -46,9 +46,7 @@ jobs: - name: Install minimal dependencies run: | - # uv pip install . is not yet supported, only `-e .` - # https://github.com/astral-sh/uv/issues/1896 - uv pip install --system -e . + uv pip install --system . uv pip list # make sure all modules are still importable with only the minimal dependencies available modules=$( @@ -61,7 +59,7 @@ jobs: - name: Install all dependencies run: | - uv pip install --system -e '.[all,test]' 'lm_eval @ git+https://github.com/EleutherAI/lm-evaluation-harness.git@115206dc89dad67b8b' + uv pip install --system '.[all,test]' 'lm_eval @ git+https://github.com/EleutherAI/lm-evaluation-harness.git@115206dc89dad67b8b' uv pip list - name: Run tests