You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/azureuser/experiments/01-triton/triton_deer.py", line 121, in <module>
main()
File "/home/azureuser/experiments/01-triton/triton_deer.py", line 26, in main
custom_func[(1,)](jitfn, a, b, res, block_size=block_size)
File "/home/azureuser/base/lib/python3.11/site-packages/triton/runtime/jit.py", line 209, in <lambda>
return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/azureuser/base/lib/python3.11/site-packages/triton/runtime/jit.py", line 520, in run
raise TypeError(f"Callable constexpr at index {i} is not supported")
TypeError: Callable constexpr at index binfn is not supported
Is it just not possible to have a jitted function with a jitted function as an argument for now? Or is there any workaround for this case?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to implement a jitted function with one of its arguments is a callable (jitted as well). Here is an example:
When I ran the code above, it complains:
Is it just not possible to have a jitted function with a jitted function as an argument for now? Or is there any workaround for this case?
Beta Was this translation helpful? Give feedback.
All reactions