Skip to content

jrcichra/rocm-pytorch-gfx803

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

rocm-pytorch-gfx803

All credit for this goes to him and other's who discovered the bug!

Usage

  • cd to your machine learning project directory
  • sudo docker run -it -v $PWD:/projects --privileged --name pytorch --device=/dev/kfd --device=/dev/dri --group-add video jrcichra/rocm-pytorch-gfx803
  • This will mount the current directory into /projects. You can navigate there and try your pytorch project. It 'should' have GPU acceleration. I checked this with:
import torch
if torch.cuda.is_available():
    device = torch.device("cuda:0")
    print("Running on the GPU")
else:
    device = torch.device("cpu")
    print("Running on the CPU")

gfx803 support

  • @BishopWolf brought to my attention AMD is dropping support for gfx803 on rocm. See ROCm/ROCm#1353
  • I've disabled Github Actions on this repo. I'm not going to update this container for now

About

Copy of rocm/pytorch with gfx803 cards compiled in (see https://github.com/xuhuisheng/rocm-build/blob/develop/docs/gfx803.md)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published