Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

See also: development guide.

Objective

This document helps you to get the development setup on Mac for working with Apache MXNet codebase. This document covers installing all required tools and packages, IDEs, debugging tools and is intended for developers who wants to dive into MXNet codebase, develop, debug, test and contribute. 

...

brew update
brew tap homebrew/core
brew install pkgconfig
brew install opencv
brew install graphviz
pip install graphviz
pip install opencv-python
pip install nosepytest

2.4 Build MXNet core engine(After MXNet 1.6 release)

...

Typically, you implement the core logic in CPP, write python binding and write a python based test case to verify. Majority of MXNet python tests uses 'nosetests' with an exception of few in 'pytest'.

Let us run one single unit test for 'dot operator'

nosetests pytest tests/python/unittest/test_operator.py::test_dot

OR, you can run all operator tests

nosetests pytest tests/python/unittest/test_operator.py

OR, all unit tests

nosetests pytest tests/python/unittest/

Step 3 - Open MXNet codebase in VSCode - Develop and Debug

...