In the documentation it is said that:
Use the predict_dataloader() method to generate the prediction dataloader(s)
However, unlike train_dataloader, val_dataloader and test_dataloader there is no reference of predict_dataloader in the source. Also from_dataset class method does not have any argument for passing predict_dataset.
Originally posted by @digital-idiot in #12893