You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use unique_ptr and shared_ptr properly for runner components (#10338)
Summary:
The ownership of these components need some clarification.
* `Module` should be solely owned by `TextDecoderRunner`
* `TextDecoderRunner` should be shared by the `TextPrefiller` and `TextTokenGenerator`.
* `Tokenizer` should be owned by the `Runner` as well as `TextTokenGenerator`
Reviewed By: kirklandsign
Differential Revision: D73399600
0 commit comments