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
* Refactor tiktoken import bare except
We shouldn't suppress the import error if tiktoken is not installed
Instead of importing it at the top of the file, we can import it inside the only functions that use these imports; we can consider a different import structure if we end up needing to access these modules in more places
This lazy importing should also decrease the load time of these modules
Also do the same thing for sentencepiece
* Remove __future__.annotations import
0 commit comments