运行和验证

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令下载测试脚本。

    git clone --recursive https://github.com/horovod/horovod.git

  3. 执行以下命令进入测试目录。

    cd horovod/test/parallel

  4. 执行以下命令运行脚本。

    horovodrun -np 2 pytest -v test_tensorflow.py