Consistent Prompting for Rehearsal-Free Continual Learning