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: 518a747bdb894e65a82c898161f512a9c8768dcc Pull Request resolved: #107245
- Loading branch information