Skip to content

Commit

Permalink
Upgrade ci-testing (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 authored Apr 27, 2024
1 parent f97f02e commit 8be3254
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.0.3
ref: v0.0.5
path: ./ci-testing
- uses: ./ci-testing/.github/actions/code-quality
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.0.3
ref: v0.0.5
path: ./ci-testing
- uses: ./ci-testing/.github/actions/codeql-analysis
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.0.3
ref: v0.0.5
path: ./ci-testing
- uses: ./ci-testing/.github/actions/coverage
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
pytest-cpu:
uses: mosaicml/ci-testing/.github/workflows/[email protected].3
uses: mosaicml/ci-testing/.github/workflows/[email protected].5
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
pytest-gpu:
uses: mosaicml/ci-testing/.github/workflows/[email protected].3
uses: mosaicml/ci-testing/.github/workflows/[email protected].5
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoketest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: mosaicml/ci-testing
ref: v0.0.3
ref: v0.0.5
path: ./ci-testing
- uses: ./ci-testing/.github/actions/smoketest
with:
Expand Down
3 changes: 3 additions & 0 deletions tests/data/test_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from omegaconf import DictConfig
from omegaconf import OmegaConf as om
from streaming import MDSWriter
from streaming.base.util import clean_stale_shared_memory

from llmfoundry.data import build_dataloader, build_finetuning_dataloader
from llmfoundry.data.finetuning.collator import (_HF_IGNORE_INDEX,
Expand Down Expand Up @@ -579,6 +580,8 @@ def test_finetuning_dataloader_streaming(pretokenize: bool,
backwards_compatibility_mode: bool,
use_bytes: bool,
tmp_path: pathlib.Path):
clean_stale_shared_memory()

max_seq_len = 2048

tokenizer = build_tokenizer(
Expand Down

0 comments on commit 8be3254

Please sign in to comment.