Skip to content

Is triton suited for cases where the input tensor shape tensors? #1422

Answered by binarman
RuABraun asked this question in Q&A
Discussion options

You must be logged in to vote

@RuABraun
Kernels are recompiled only once for every new size.
Compiled kernels are stored in cache (see $HOME/.triton/cache/)

If your data have finite number of shapes, eventually triton will have all code variants.
You can make several "warmup" runs before actual workload to get predictable latencies.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RuABraun
Comment options

@ptillet
Comment options

Answer selected by RuABraun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants