tiktoken
tiktoken copied to clipboard
tiktoken_ext.__pycache__ Issue On Amazone Lambda
trafficstars
While EC2 is ok. On Amazon Lambda I get this error: Traceback (most recent call last): File "/var/task/tiktoken/registry.py", line 34, in _find_constructors constructors = mod.ENCODING_CONSTRUCTORS AttributeError: module 'tiktoken_ext.pycache' has no attribute 'ENCODING_CONSTRUCTORS'
Pyhton 3.9. Packaged with Zappa.
raised a PR here https://github.com/openai/tiktoken/pull/152