[torch.compile] fix graph break problems partially (#5453)
* fix: controlnet graph?
* fix: sample
* fix:
* remove print
* styling
* fix-copies
* prevent more graph breaks?
* prevent more graph breaks?
* see?
* revert.
* compilation.
* rpopagate changes to controlnet sdxl pipeline too.
* add: clean version checking.