Pytorch on an AMD gpu (frame.work 13)

I have a frame.work laptop. it is really nice! it looks awesome and is easily repairable. I chose an AMD type, which as an integated GPU. the AMD Ryzen 7 7840U

You can actually use this GPU with pytorch!

But you need to perform a few steps, I write them down here for future use. (I’m using ubuntu on this device)

I don’t think it is particularily fast, but using the gpu is often faster than cpu.

Will it run large deep learning models like LLMs?

According to this benchmark https://llm-tracker.info/howto/AMD-GPUs#bkmrk-amd-apu LLMs could be slightly faster than on cpu

What about torch, for R?

It does not yet work for torch on R, see this issue https://github.com/mlverse/torch/issues/907


Pytorch on an AMD gpu (frame.work 13)
by  | 
More posts of level: advanced