forked from dqbd/tiktoken
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid model error when calling encoding_for_model
on Heroku
#1
Comments
I got it to segfault on Heroku too, when calling Segfault
|
Ever solve this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for publishing the gem! I'm using it on Heroku with stack heroku-22 but getting an error when calling
encoding_for_model
. Locally it works just fine.Ruby: 3.2.2
OS: Ubuntu 22.04
Here's a Dockerfile that exhibits the issue (tested on play-with-docker):
And the error:
On my Mac (M1), the
Tiktoken.encoding_for_model("text-embedding-ada-002")
works just fine.Any ideas what might be causing this? Perhaps an architecture problem?
The text was updated successfully, but these errors were encountered: