hunk.code_window:           which python
             python --version
             which hipcc
             hipcc --version
             python -c "import torch; print('torch:', torch.__version__, torch)"
             python -c "import torch; print('CUDA available:', torch.cuda.is_available())"
             sudo apt-get update
             sudo apt-get install -y libaio-dev
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:           pip install --upgrade pip
             pip uninstall --yes torch torchvision
             pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.1.1
  
hunk.file_path: .github/workflows/amd.yml
hunk.type: add