Skip to content

Conversation

jkawamoto
Copy link
Contributor

When I ran tests using this command:

pip install -e ".[test]"
python -m pytest

I got this error message:

    def test_llama_server():
>       from fastapi.testclient import TestClient
E       ModuleNotFoundError: No module named 'fastapi'

tests/test_llama.py:246: ModuleNotFoundError

This PR adds the missing dependencies for the test feature.

@abetlen abetlen merged commit 78e35c4 into abetlen:main Aug 15, 2024
@jkawamoto jkawamoto deleted the test-dependencies branch August 15, 2024 22:24
benniekiss pushed a commit to benniekiss/llama-cpp-python that referenced this pull request Aug 23, 2024
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