5 ms·
This. Modular and OctoML are building on top of MLIR and TVM respectively. > It's pretty hard to really beat NVIDIA for developer support though, they've inves
by tzhenghao 3y ago
This. Modular and OctoML are building on top of MLIR and TVM respectively.
> It's pretty hard to really beat NVIDIA for developer support though, they've invested a lot of work into the CUDA ecosystem over the years and it shows.
Yup, strong CUDA community and dev support. That said, more ergonomic domain specific languages like Mojo might finally give CUDA some competition though - it's still a very high bar for sure.
- sanxiyn 3y agoThere's also OpenAI Triton. People seem to miss that OpenAI is not using CUDA...
- singhrac 3y agoYeah, also see AMD engineers working on Triton support here: https://github.com/openai/triton/issues/46 https://github.com/openai/triton/issues/46
- wmf 3y agoTriton outputs PTX which still requires CUDA to be installed.
- sanxiyn 3y agoSure, but the point is that Triton is not dependent on CUDA language or frontend. Triton also outputs PTX using LLVM's NVPTX backend. Devils are in the details, but at a very high level, Triton could be ported to AMD by doing s/NVPTX/AMDGPU/. Given this, people should think again when they say NVIDIA has CUDA moat.
- DocSavage 3y agoI thought this was a good overview of the idea Triton can circumvent the CUDA moat: https://www.semianalysis.com/p/nvidiaopenaitritonpytorch https://www.semianalysis.com/p/nvidiaopenaitritonpytorch It also looks like they added MLIR backend to Triton though I wonder if Mojo has advantages since it was designed with MLIR in mind? https://github.com/openai/triton/pull/1004 https://github.com/openai/triton/pull/1004
- hedgehog 3y agoI hadn't looked at Triton before, I took a quick look at it and how it's getting used in PyTorch 2. My read is it really lowers the barrier to doing new hardware ports, I think a team of around five people within a chip vendor's team could maintain a high quality port of PyTorch for a non-NVIDIA platform. That's less than it used to be, very cool. The approach would not be to use any of the PTX stuff, but to bolt on support for say the vendor's supported flavor of Vulkan.