transformers
cc7803c0 - Register ModelOutput as supported torch pytree nodes (#26618)

Commit
2 years ago
Register ModelOutput as supported torch pytree nodes (#26618) * Register ModelOutput as supported torch pytree nodes * Test ModelOutput as supported torch pytree nodes * Update type hints for pytree unflatten functions
Author
Parents
Loading