-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add iteration time test as part of regression testing (#358)
* Add iteration time test as part of regression testing * Add logging and improved the existing test logic * Simplify code and fixed the unit test * Update logic for class dictionary * delete the directory, files, and sub-directories * Fixed test since directory clean up happens automatically in method local_remote_dir()
- Loading branch information
Showing
11 changed files
with
533 additions
and
257 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
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,22 @@ | ||
name: streaming-regression-test-iteration-time | ||
compute: | ||
gpus: 8 # Number of GPUs to use | ||
# cluster: TODO # Name of the cluster to use for this run | ||
command: |- | ||
pip uninstall -y mosaicml-streaming | ||
cd streaming | ||
pip install -e '.[dev]' | ||
python regression/synthetic_dataset.py --create --name imagedataset --out /tmp/streaming_dataset/ --num_samples 300 | ||
composer -n 2 regression/iterate_data.py --remote /tmp/streaming_dataset/ --local /tmp/local_dataset/ --batch_size 32 | ||
python regression/synthetic_dataset.py --delete --out /tmp/streaming_dataset/ | ||
rm -rf /tmp/local_dataset/ | ||
image: mosaicml/composer:latest | ||
scheduling: | ||
resumable: true | ||
priority: medium | ||
integrations: | ||
- integration_type: git_repo | ||
git_repo: mosaicml/streaming | ||
git_branch: main | ||
ssh_clone: false |
Oops, something went wrong.