mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-04 13:00:36 +08:00
* CI: split tests-examples * tests without template * comment depends * CircleCI typo * add doctest * update test req. * CI tests * setup macOS * longer train * lover pred acc * fix model * rename default model * lower tests acc * typo * imports * fix test optimizer * update calls * fix Win * lower Drone image * fix call * pytorch image * fix test * add dev image * add dev image * update image * drone volume * lint * update test notes * rename tests/models >> tests/base * group models * conftest * optim imports * typos * fix import * fix tests * install AMP * tests * fix import
17 lines
481 B
Bash
17 lines
481 B
Bash
#!/usr/bin/env bash
|
|
|
|
# install APEX, see https://github.com/NVIDIA/apex#linux
|
|
# to imitate SLURM set only single node
|
|
export SLURM_LOCALID=0
|
|
|
|
# use this to run tests
|
|
rm -rf _ckpt_*
|
|
rm -rf ./tests/save_dir*
|
|
rm -rf ./tests/mlruns_*
|
|
rm -rf ./tests/cometruns*
|
|
rm -rf ./tests/wandb*
|
|
rm -rf ./tests/tests/*
|
|
rm -rf ./lightning_logs
|
|
python -m coverage run --source pytorch_lightning -m py.test pytorch_lightning tests pl_examples -v --doctest-modules --flake8
|
|
python -m coverage report -m
|