using sorting breaks topological order of outputs, it keeps output names in alphabetical order, that is different from topological if model has > 10 layers (e.g. hiden_states.0, hidden_states.1, ..., hidden_states.9, hidden_states.10 we got hidden_states.0, hidden_tates.1, hidden_states.10, hidden_states.2, ...., hidden_states.9) that significantly impact model accuracy for sdxl.
Before submitting
[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
What does this PR do?
using sorting breaks topological order of outputs, it keeps output names in alphabetical order, that is different from topological if model has > 10 layers (e.g. hiden_states.0, hidden_states.1, ..., hidden_states.9, hidden_states.10 we got hidden_states.0, hidden_tates.1, hidden_states.10, hidden_states.2, ...., hidden_states.9) that significantly impact model accuracy for sdxl.
Before submitting