-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into output_eval_logging
- Loading branch information
Showing
159 changed files
with
76,588 additions
and
1,695 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Require admin approval to modify all files in the root of the repository | ||
# This includes setup.py, the README, and the CODEOWNERS file itself! | ||
/* @mosaicml/composer-team-admins | ||
|
||
# Require admin approval to change the CI build configuration | ||
# All CI Changes should be reviewed for security | ||
/.ci/ @mosaicml/composer-team-admins | ||
/.github/ @mosaicml/composer-team-admins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Smoketest | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- release/* | ||
pull_request: | ||
branches: | ||
- main | ||
- release/* | ||
workflow_dispatch: | ||
# Cancel old runs when a new commit is pushed to the same branch if not on main or dev | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }} | ||
defaults: | ||
run: | ||
working-directory: . | ||
jobs: | ||
smoketest: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 10 | ||
strategy: | ||
matrix: | ||
python_version: | ||
- "3.9" | ||
- "3.10" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
- name: Setup | ||
run: | | ||
set -ex | ||
python -m pip install --upgrade 'pip<23' wheel | ||
python -m pip install --upgrade . | ||
python -m pip install pytest==7.2.1 pytest_codeblocks==0.16.1 | ||
- name: Run checks | ||
run: | | ||
pytest tests/test_smoketest.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,3 +150,8 @@ dmypy.json | |
|
||
# notebooks | ||
notebooks/ | ||
|
||
# artifacts from training | ||
**/*.pt | ||
**/mlruns/* | ||
**/tokenizer-save-dir-*/** |
Oops, something went wrong.