You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

run.sh 520 B

1234567891011121314
  1. #!/bin/bash -e
  2. pushd $(dirname "${BASH_SOURCE[0]}")/.. >/dev/null
  3. pytest -xv -m 'not internet' \
  4. --json-report --json-report-file=time_python_test.json \
  5. --ignore test/unit/module/test_pytorch.py \
  6. --ignore test/pytorch_comparison \
  7. --ignore test/unit/hub/test_hub.py \
  8. --ignore test/unit/data \
  9. --ignore test/integration/manual \
  10. --ignore megengine/module/pytorch \
  11. --ignore test/unit/module/test_external.py \
  12. megengine test
  13. popd >/dev/null

MegEngine 安装包中集成了使用 GPU 运行代码所需的 CUDA 环境,不用区分 CPU 和 GPU 版。 如果想要运行 GPU 程序,请确保机器本身配有 GPU 硬件设备并安装好驱动。 如果你想体验在云端 GPU 算力平台进行深度学习开发的感觉,欢迎访问 MegStudio 平台