Make `split_module` results deterministic (#50470)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/50470
Test Plan: Imported from OSS
Reviewed By: jamesr66a
Differential Revision: D25899130
Pulled By: ansley
fbshipit-source-id: 45d63992cbe17eb01f709d02800c2eef1bd2ad08