Open
Description
It seems that triton
has recently switched to mathlib
in lieu of libdevice
which causes following errors in nn.triton_based_modules
:
AttributeError: module 'triton.language' has no attribute 'libdevice'
Ref PRs from triton:
For example, triton.language.libdevice.llrint
used here is now triton.language.math.llrint
:
https://github.com/openai/triton/blob/720d12c1433e5b13eb3a18d1e065c1d3d25a32f1/python/triton/language/math.py#L1096
Is this a simple update or bumping triton might break more stuff?