-
Triton 2.1.0 moved the triton.language.libdevice code into .math. Unfortunately this is creating a problem for in writing a code that wants to support both 2.0.0 and 2.1.0+ with JIT enabled. The following code would fail JIT compile on Triton 2.1.0 (git+head) since it is still looking for .libdevice which no longer exists even though the else statement is 100% dead code. Any suggestions? Thanks.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
Can you do |
Beta Was this translation helpful? Give feedback.
-
I think it's related to triton 2.0.0 not having a python 3.10 wheel. We'll add one. |
Beta Was this translation helpful? Give feedback.
Can you do
tl.libdevice = tl.math
? I am realizing that Triton2.1.0
should probably be backward-compatible with2.0.x
as per semantic versioning guidelines, so maybe it's something we should hardcode into the package.