我要评分
获取效率
正确性
完整性
易理解

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source code directory.
    cd /path/to/mxnet/mxnet
  3. Create a build directory.
    mkdir build
    cd build
  4. Create a build file.
    cmake .. -DUSE_CUDA=OFF
  5. Compile the installation file.
    make -j
  6. Load the environment variable.
    export LD_LIBRARY_PATH=/path/to/mxnet/mxnet/build:$LD_LIBRARY_PATH
  7. Create a MXNet-Python virtual environment and activate it.
    pip3 install virtualenv
    mkdir -p /path/to/mxnet-python
    python3 -m venv /path/to/mxnet-python
    source /path/to/mxnet-python/bin/activate
  8. Install MXNet.
    cd /path/to/mxnet/mxnet
    rm -rf python/mxnet/space.py
    cp contrib/tvmop/space.py python/mxnet/
    python3 -m pip install ./python

    Information similar to the following is displayed: