How to use P-tuning or Prefix-tuning on Whisper model

How to use P-tuning or Prefix-tuning on Whisper model? I think Whisper has a time limit of less than 30s, which is 3000 frames. How can I use prompt tunging?