Add dependencies evaluation group

This commit is contained in:
Anas Dorbani 2024-04-04 23:51:53 +00:00
parent 1877fe9b91
commit 5bb859970b
2 changed files with 3 additions and 6 deletions

View File

@ -17,7 +17,7 @@ build:
@docker pull $(DOCKER_IMAGE)
@echo "Installing Python dependencies..."
@curl -sSL https://install.python-poetry.org | python3 -
@poetry install
@poetry install --without evaluation
@echo "Activating Poetry shell..."
@echo "Installing pre-commit hooks..."
@poetry run pre-commit install --config $(PRECOMMIT_CONFIG_PATH)

View File

@ -31,7 +31,6 @@ llama-index-embeddings-huggingface = "*"
llama-index-embeddings-azure-openai = "*"
llama-index-embeddings-ollama = "*"
pymupdfb = "*"
torch = "*"
[tool.poetry.group.dev.dependencies]
ruff = "*"
@ -41,10 +40,8 @@ pre-commit = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cpu"
priority = "supplemental"
[tool.poetry.group.evaluation.dependencies]
torch = "*"
[build-system]
requires = ["poetry-core"]