Smarties

Smarties are little nuggets of technical knowhow I picked up during my work. They’re inspired by Simon Willison’s TILs.

Getting ptx from Triton

Published:

You can get the ptx of a triton kernel like so: my_kernel.cache[DEVICE_KEY][INPUTS_KEY].asm['ptx'], where DEVICE_KEY and INPUTS_KEY are determined like below.

Installing Triton 3.0.0

Published:

As of June 13 2024, to get Triton 3.0 you have to install it from source, like so: