How to convert .mp3 file to .PTH file

Someone can help me please I need to convert an .mp3 file to a .PTH file but don’t know how to do it

Could you describe your use case in more details, please?
Do you want to store the decoded waveforms from the mp3 file as a tensor?
If so, you could use torchaudio to read the data, transform it to a tensor, and store it via torch.save.