ThomasDelteil opened a new pull request #10495: [MXNET-307] Add tutorials to the CI + Fix them
URL: https://github.com/apache/incubator-mxnet/pull/10495
## Description ##
Add all available .ipynb tutorials to the CI
Some needed fixing, they are fixed now.
Currently runs successfully with python27 and python36 on linux
An upcoming PR will investigate the following issues:
[ ] - Add an integration test to make sure all .ipynb files are tested
[ ] - Enable multiprocessing tests to parallelize execution
[ ] - Actually add the test suite to the nightly tests
[ ] - Run the tests on windows
## Checklist ##
### Essentials ###
- [ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant
[JIRA issue](https://issues.apache.org/jira/projects/MXNET/issues) created (except PRs with
tiny changes)
- [ ] Changes are complete (i.e. I finished coding on this PR)
- [ ] All changes have test coverage:
- Nightly tests are added for complicated/long-running ones (e.g. changing distributed
kvstore)
- [ ] Code is well-documented:
- [ ] To the my best knowledge, examples are either not affected by this change, or have
been fixed to be compatible with this change
```
> python test_tutorial.py --kernel python2
Testing ../../docs/_build/html/tutorials/basic/ndarray... Elapsed time: 6.62s [Success]
Testing ../../docs/_build/html/tutorials/basic/symbol... Elapsed time: 4.36s [Success]
Testing ../../docs/_build/html/tutorials/basic/module... Elapsed time: 13.28s [Success]
Testing ../../docs/_build/html/tutorials/basic/data... Elapsed time: 11.49s [Success]
Testing ../../docs/_build/html/tutorials/python/linear-regression... Elapsed time: 5.63s
[Success]
Testing ../../docs/_build/html/tutorials/python/mnist... Elapsed time: 22.42s [Success]
Testing ../../docs/_build/html/tutorials/python/predict_image... Elapsed time: 4.34s [Success]
Testing ../../docs/_build/html/tutorials/onnx/super_resolution... Elapsed time: 2.33s [Success]
Testing ../../docs/_build/html/tutorials/onnx/fine_tuning_gluon... Elapsed time: 70.57s
[Success]
Testing ../../docs/_build/html/tutorials/onnx/inference_on_onnx_model... Elapsed time:
7.48s [Success]
Testing ../../docs/_build/html/tutorials/basic/ndarray_indexing... Elapsed time: 2.25s
[Success]
Testing ../../docs/_build/html/tutorials/python/matrix_factorization... Elapsed time: 52.57s
[Success]
Testing ../../docs/_build/html/tutorials/gluon/ndarray... Elapsed time: 2.25s [Success]
Testing ../../docs/_build/html/tutorials/gluon/mnist... Elapsed time: 39.39s [Success]
Testing ../../docs/_build/html/tutorials/gluon/autograd... Elapsed time: 2.22s [Success]
Testing ../../docs/_build/html/tutorials/gluon/gluon... Elapsed time: 2.23s [Success]
Testing ../../docs/_build/html/tutorials/gluon/hybrid... Elapsed time: 2.23s [Success]
Testing ../../docs/_build/html/tutorials/sparse/row_sparse... Elapsed time: 4.36s [Success]
Testing ../../docs/_build/html/tutorials/sparse/csr... Elapsed time: 4.36s [Success]
Testing ../../docs/_build/html/tutorials/sparse/train... Elapsed time: 8.25s [Success]
Test Summary Start
20 tutorials tested:
basic/ndarray
basic/symbol
basic/module
basic/data
python/linear-regression
python/mnist
python/predict_image
onnx/super_resolution
onnx/fine_tuning_gluon
onnx/inference_on_onnx_model
basic/ndarray_indexing
python/matrix_factorization
gluon/ndarray
gluon/mnist
gluon/autograd
gluon/gluon
gluon/hybrid
sparse/row_sparse
sparse/csr
sparse/train
0 tests failed:
Test Summary End
Stats start
[Passed: 20 of 20]
Total time: 268.62s
Stats end
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|