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

Add Llama to model test matrix #703

Merged
merged 24 commits into from
Mar 20, 2024

Conversation

riedgar-ms
Copy link
Collaborator

Working to get Llama models into the test matrix.

@riedgar-ms riedgar-ms requested a review from Harsha-Nori March 18, 2024 16:23
@@ -30,6 +30,9 @@ jobs:
pip install pytest
pip install -e .[test]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install model-specific dependencies
run: |
pip install llama-cpp-python
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the bit which needs special care to get CUDA enabled @Harsha-Nori ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although that wouldn't be for this particular workflow file, but when #694 gets merged and updated.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we'll want to figure out the test hardware configuration and then set the right flags accordingly: https://github.com/abetlen/llama-cpp-python?tab=readme-ov-file#installation-configuration

E.g. with CUDA enabled, we'll want to do:

CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python

@riedgar-ms
Copy link
Collaborator Author

Are you OK with this @Harsha-Nori ?

@Harsha-Nori
Copy link
Collaborator

LGTM

@Harsha-Nori Harsha-Nori merged commit 29b5b8d into guidance-ai:main Mar 20, 2024
60 checks passed
@riedgar-ms riedgar-ms deleted the riedgar-ms/llama-build-01 branch March 20, 2024 22:19
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.

2 participants