-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from ORNL/dev
Dev
- Loading branch information
Showing
38 changed files
with
1,106 additions
and
8,686 deletions.
There are no files selected for viewing
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,59 @@ | ||
name: Tests on Py313 | ||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [ "3.13" ] | ||
env: | ||
MONGO_ENABLED: true | ||
LMDB_ENABLED: false | ||
timeout-minutes: 60 | ||
if: "!contains(github.event.head_commit.message, 'CI Bot')" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" | ||
|
||
- name: Show OS Info | ||
run: '[[ "$OSTYPE" == "linux-gnu"* ]] && { echo "OS Type: Linux"; (command -v lsb_release &> /dev/null && lsb_release -a) || cat /etc/os-release; uname -r; } || [[ "$OSTYPE" == "darwin"* ]] && { echo "OS Type: macOS"; sw_vers; uname -r; } || echo "Unsupported OS type: $OSTYPE"' | ||
|
||
- name: Start docker compose with redis | ||
run: make services-mongo | ||
|
||
- name: Upgrade pip | ||
run: | | ||
python -m pip install --upgrade pip | ||
python --version | ||
- name: Install dependencies that work on py3.13 | ||
run: | | ||
pip install . --no-deps | ||
pip install flask-restful msgpack omegaconf pandas psutil py-cpuinfo redis requests pyarrow | ||
pip install .[mongo,analytics,dask,docs,kafka,mlflow,dev] | ||
- name: List installed packages | ||
run: pip list | ||
|
||
- name: Test with pytest and redis, ignoring the ones that (as of the day I am writing this) don't work on py3.13) | ||
run: | | ||
pytest --ignore=tests/adapters/test_tensorboard.py --ignore tests/decorator_tests/ml_tests/ | ||
- name: Shut down docker compose | ||
run: make services-stop-mongo | ||
|
||
- name: Clean up | ||
run: | | ||
make clean | ||
find /home/runner/runners/ -type f -name "*.log" -exec sh -c 'echo {}; >"{}"' \; || true | ||
docker image prune -a -f |
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 |
---|---|---|
|
@@ -22,3 +22,4 @@ tmp/ | |
deployment/data | ||
**/*output_data* | ||
examples/llm_complex/input_data | ||
tmp_tests/ |
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,35 @@ | ||
activity_id: | ||
epochs_loop_iteration: | ||
epoch: task['used']['epoch'] | ||
model_train: parent['task_id'] | ||
train_batch_iteration: | ||
query: | ||
collection: 'workflows' | ||
filter: | ||
generated.dataset_ref: primogenitor['used']['dataset_ref'] | ||
projection: ['name', 'workflow_id', 'used.tokenizer_type', 'used.train_batch_size', 'used.subset_size', 'generated.train_n_batches' ] | ||
step: train | ||
batch: task['used']['i'] | ||
data_path: primogenitor['used']['train_data_path'] | ||
batch_size: primogenitor['used']['batch_size'] | ||
epoch: parent['used']['epoch'] | ||
model_train: grandparent['task_id'] | ||
eval_batch_iteration: | ||
query: | ||
collection: 'workflows' | ||
filter: | ||
generated.dataset_ref: primogenitor['used']['dataset_ref'] | ||
projection: ['name', 'workflow_id', 'used.tokenizer_type', 'used.eval_batch_size', 'used.subset_size', 'generated.eval_n_batches' ] | ||
step: eval | ||
batch: task['used']['i'] | ||
data_path: primogenitor['used']['val_data_path'] | ||
batch_size: primogenitor['used']['eval_batch_size'] | ||
epoch: parent['used']['epoch'] | ||
model_train: grandparent['task_id'] | ||
subtype: | ||
parent_forward: | ||
model: task['activity_id'] | ||
extend: parent['custom_characterization'] | ||
child_forward: | ||
module: task['activity_id'] | ||
extend: parent['custom_characterization'] |
Oops, something went wrong.