transformers
cc7803c0
- Register ModelOutput as supported torch pytree nodes (#26618)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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
References
#26618 - Register ModelOutput as supported torch pytree nodes
Author
XuehaiPan
Parents
ede051f1
Loading