Training compilation

NEXT