taichi icon indicating copy to clipboard operation
taichi copied to clipboard

LLVM 15 IS OLD

Open johnnynunez opened this issue 8 months ago • 14 comments

Blackwell support needed LLVM 20...

johnnynunez avatar Apr 08 '25 23:04 johnnynunez

where do you see llvm 20? I only see 18 🤔 https://releases.llvm.org/download.html

hughperkins avatar Apr 26 '25 15:04 hughperkins

Oh from here, https://github.com/llvm/llvm-project/releases/tag/llvmorg-20.1.0 I see

hughperkins avatar Apr 26 '25 15:04 hughperkins

Oh from here, https://github.com/llvm/llvm-project/releases/tag/llvmorg-20.1.0 I see

Interesting, now they distribute binares

johnnynunez avatar Apr 26 '25 18:04 johnnynunez

Well, they're 'volunteer provided'. I'm not sure that I really want to run anonymously-provided binaries on my computer to be honest...

hughperkins avatar Apr 26 '25 18:04 hughperkins

So, is it like 18 is 'stable', and 19 and 20 are like 'alpha'/'beta'?

hughperkins avatar Apr 26 '25 18:04 hughperkins

(24.04 seems to provide, as a pre build package, 19, not 20?

  • https://launchpad.net/ubuntu/noble/+package/llvm-20 (broken link)
  • https://launchpad.net/ubuntu/noble/+package/llvm-19 (works) )

hughperkins avatar Apr 26 '25 18:04 hughperkins

Anyways is not critical. You can use llvm from your computer but you have to do compatible some files

johnnynunez avatar Apr 26 '25 20:04 johnnynunez

I know it's old, I'm sorry, but I don't have time to port all those just yet...

One potential road block is rn I don't understand why taichi uses custom flagged LLVM build. If we resolve that the upgrade path is cleaner

bobcao3 avatar Apr 26 '25 21:04 bobcao3

Out of random bystander personal curiosity, what is 'custom flagged LLVM build'? Something to do with the compiler flags we use?

hughperkins avatar Apr 26 '25 21:04 hughperkins

I have still update my branches due now I have amd and nvidia gpus and threadripper. Also access to GH200.

After fix arm and 3rd parties, i will upgrade llvm

johnnynunez avatar Apr 26 '25 23:04 johnnynunez

I finished the two PRs and now i'm focus on this @bobcao3 @hughperkins

My 5090 was arrived and I have access on gh200/gb200

johnnynunez avatar May 04 '25 19:05 johnnynunez

@hughperkins @bobcao3 who is the mantainer of taichi?

johnnynunez avatar May 05 '25 06:05 johnnynunez

I trying to use the llvm-18.1.8 currently installed in my system to perform a developer install of Taichi. But Taichi installs llvm-15.0.4 version by defaults. Which creates an incompatibility for executing any script. @johnnynunez, could just replacing the library would be enough to resolve this incompatibility?

wme7 avatar Jul 01 '25 14:07 wme7

I trying to use the llvm-18.1.8 currently installed in my system to perform a developer install of Taichi. But Taichi installs llvm-15.0.4 version by defaults. Which creates an incompatibility for executing any script. @johnnynunez, could just replacing the library would be enough to resolve this incompatibility?

use llvm20, I fixed here: https://github.com/taichi-dev/taichi/pull/8735 it is working in my 5090 and GH200 @bobcao3 @wme7

johnnynunez avatar Jul 01 '25 14:07 johnnynunez