Pure PyTorch mostly works OK, but some libraries implementing crazy optimized, hand written kernels and such will have some trouble.
So (for instance) maybe you can run an LLM in a particular PyTorch framework, but flash attention 2 doesn't support your AMD card, so performance and memory use takes a hit.
Or maybe the library works on an Intel XPU with like 5 changed lines in the entire library (rename "cuda" to "xpu"), but no one bothered to add it, or maybe the dev doesn't even want to support the PR.
If I have an NVIDIA GPU, the only PyTorch backend I can promise even "somewhat works on my machine" is CUDA.
Intel is taking a slightly different approach, and is going for "PyTorch compatible."
You will hear endless negative anecdotes about ROCm/OpenVINO, but they both do seem to be getting better with each update.
There are a lot of moving parts around all of this. AMD was still dealing with their fab breakup and fallout.
They basically cut all the fat and some muscle to keep pushing forward so I agree with the other poster that now is the time to focus on software and growth.
https://fortune.com/europe/2023/10/04/amd-lisa-su-nvidia-roc...
So yea, in my eyes, AMD beat Intel. I don't think I need any more evidence than that. ¯\_(ツ)_/¯
(hello!)
They benefit from competition, not from bending to one vendor.
It is all sold out, for years. You can't sell something you don't have.
https://twitter.com/sama/status/1724626002595471740
ROCm has also made a lot of advances in recent times.
https://www.databricks.com/blog/training-llms-scale-amd-mi25...
It was designed as a combined CPU/GPU for supercomputers, with shared memory. But then the AI craze hit, so AMD spun a variant into a pure GPU AI accelerator real quick, which they could actually pull off because the GPU silicon is modular.
...So thats why it cost a fortune. Its really a jury rigged HPC product.