Skip to content
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

feat: optimize config for CPU and GPU #7

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

lsorber
Copy link
Member

@lsorber lsorber commented Aug 16, 2024

This PR selects the LLM and embedder based on the available accelerator.

On CPU it selects Phi 3.1 mini, and on GPU it selects Llama 3.1 8B.

Snowflake's Arctic-Embed m-v1.5 model seems to perform nearly equally well as their l model, but is much faster than the latter. Therefore, we select this embedder for both CPU and GPU as it is both high quality and economical.

@lsorber lsorber self-assigned this Aug 16, 2024
@lsorber lsorber force-pushed the ls-optimize-config branch from 94c02ce to b033d7b Compare August 16, 2024 12:14
@lsorber lsorber merged commit 107db7e into main Aug 16, 2024
1 check passed
@lsorber lsorber deleted the ls-optimize-config branch August 25, 2024 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant