Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ONNX] Relax not exist assertion for 'register_pytree_node'
To not conflict with potential existing workaround or solution outside of exporter. Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class. `_PyTreeExtensionContext` is kept to support prior versions of transformers. ghstack-source-id: 70e50b0e6cda42888a117188a9e5c18f3f40acd7 Pull Request resolved: #107245
- Loading branch information