Is there a Tantrayana (Tibetan Buddhism) training related to "burning" past bad karma? I heard (only heard) a couple of times somewhere that there is a training in Tantrayana that can purify you, by deleting or burning your own past bad karma.

Unfortunately, I don't know the name of this training -- but I lived in Indonesia and sometimes a Tantrayana monk came and offered something like this (again, if I remember correctly)

Is there some kind of training like this?
In the Theravada pali cannon:
In this Devadaha Sutta , the Buddha refutes the theories of the Jains — here called the Niganthas — and heaps ridicule on the idea of trying to burn kamma by asceticism. First he notes that none of the Niganthas have ever come to the end of pain by trying to burn it away in this way;

&quot;Going to Niganthas who teach in this way, I have asked them, 'Is it true, friend Niganthas, that you teach in this way, that you have this view: &quot;Whatever a person experiences — pleasure, pain, or neither pleasure nor pain — all is caused by what was done in the past. Thus, with the destruction of old actions through asceticism, and with the non-doing of new actions, there will be no flow into the future. With no flow into the future, there is the ending of action. With the ending of action, the ending of stress. With the ending of stress, the ending of feeling. With the ending of feeling, all suffering &amp; stress will be exhausted&quot;?'
&quot;Having been asked this by me, the Niganthas admitted it, 'Yes.'
&quot;So I said to them, 'But friends, do you know that you existed in the past, and that you did not not exist?' (*basically, have you seen your own past lives?)
&quot;'No, friend.'
&quot;'And do you know that you did evil actions in the past, and that you did not not do them?'
&quot;'No, friend.'
&quot;'And do you know that you did such-and-such evil actions in the past?'
&quot;'No, friend.'
&quot;'And do you know that so-and-so much stress has been exhausted, or that so-and-so much stress remains to be exhausted, or that with the exhaustion of so-and-so much stress all stress will be exhausted?'
&quot;'No, friend.'
&quot;'But do you know what is the abandoning of unskillful mental qualities and the attainment of skillful mental qualities in the here-&amp;-now?'
&quot;'No, friend.'
&quot;'So, friends, it seems that you don't know that you existed in the past, and that you did not not exist... you don't know what is the abandoning of unskillful mental qualities and the attainment of skillful mental qualities in the here-&amp;-now. That being the case, it is not proper for you to assert that, &quot;Whatever a person experiences — pleasure, pain, or neither pleasure nor pain — all is caused by what was done in the past. Thus, with the destruction of old actions through asceticism, and with the non-doing of new actions, there will be no flow into the future. With no flow into the future, there is the ending of action. With the ending of action, the ending of stress. With the ending of stress, the ending of feeling. With the ending of feeling, all suffering &amp; stress will be exhausted.&quot;