Update parallel_apply.py for assertion error when len(modules) != len(inputs) (#94671)
Print the result why it is wrong.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94671
Approved by: https://github.com/ngimel, https://github.com/kit1980