Skip to content

Missing the openai package when using openai-chat-completions as the model for evaluation #291

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

Closed
yhwang opened this issue Sep 11, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working lm-eval Issues related to LM-Eval

Comments

@yhwang
Copy link
Collaborator

yhwang commented Sep 11, 2024

When using openai-chat-completions as the model in LMEvalJob CR, the job fails with the error:

Exception: attempted to use 'openai' LM type, but package `openai` or `tiktoken` are not installed.     please install these via `pip install lm-eval[openai]` or `pip install -e .[openai]`

The openai package is missing in the job image.

@yhwang yhwang added kind/bug Something isn't working lm-eval Issues related to LM-Eval labels Sep 11, 2024
@yhwang yhwang self-assigned this Sep 11, 2024
@yhwang
Copy link
Collaborator Author

yhwang commented Oct 16, 2024

#296 fixed the issue. close this issue

@yhwang yhwang closed this as completed Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working lm-eval Issues related to LM-Eval
Projects
None yet
Development

No branches or pull requests

1 participant