Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "llm" # The pip install <name>.
version = "0.4.2"
version = "0.4.3"
description = "Library for easy use of LLMs."
readme = "README.md"
authors = [
Expand All @@ -15,7 +15,6 @@ dependencies = [
"torchvision",
"sentence-transformers>=5.2.2",
"llm-conversation",
"pytest>=8.0",
]

[project.optional-dependencies]
Expand All @@ -38,6 +37,9 @@ all = [
"peft>=0.18.1",
"backoff>=2.2.1",
]
dev = [
"pytest>=8.0",
]

[[tool.uv.index]]
name = "pytorch-cu130"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
LLM_MODEL_CACHE inline when invoking pytest so it only exists for that one
command and does not persist in your shell:

uv sync --extra openai
uv sync --extra dev
LLM_MODEL_CACHE=<path to model cache dir> pytest

Tests are skipped automatically if LLM_MODEL_CACHE is not set.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gpt_oss_20b.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
invoking pytest so it only exists for that one command and does not persist
in your shell:

uv sync --extra openai
uv sync --extra dev --extra openai
LLM_MODEL_CACHE=<path to model cache dir> pytest

Tests are skipped automatically if LLM_MODEL_CACHE is not set.
Expand Down
4 changes: 4 additions & 0 deletions tests/test_list_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""
Tests for llm.list_models.

uv sync --extra dev

Make sure the virtual environment is active.
"""

import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/test_phi4_multimodal_instruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
invoking pytest so it only exists for that one command and does not persist
in your shell:

uv sync --extra microsoft
uv sync --extra dev --extra microsoft
LLM_MODEL_CACHE=<path to model cache dir> pytest

Tests are skipped automatically if LLM_MODEL_CACHE is not set.
Expand Down
16 changes: 9 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading