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

Running and Verification

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Start Docker.
    docker import pytorch_cuda.tar pytorch/cuda:v3
    docker run --gpus all  -it pytorch/cuda:v3 bash
  3. Set the environment variables.
    export PATH=/root/anaconda3/bin:$PATH
    export LD_LIBRARY_PATH=/usr/local/cuda/lib64
  4. Start Python 3.
    python3
    import torch
    torch.cuda.is_available()