File tree Expand file tree Collapse file tree 1 file changed +20
-23
lines changed Expand file tree Collapse file tree 1 file changed +20
-23
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,11 @@ classifiers = [
2626
2727dependencies = [
2828 " pydantic" ,
29- " outlines<1.0.0" ,
3029 " openai" ,
3130 " jinja2" ,
32- " transformers" ,
33- " torchvision" ,
34- " accelerate>=0.26.0" ,
3531 " json5" ,
36- " docling==2.28.1" ,
3732 " ollama>=0.5.1" ,
38- " alora==0.2.0" ,
3933 " ansicolors" ,
40- " datasets" ,
41- " ibm-watsonx-ai" ,
4234 " requests>=2.32.3" ,
4335 " uvicorn" ,
4436 " fastapi" ,
@@ -47,20 +39,31 @@ dependencies = [
4739 " typer" ,
4840 " click<8.2.0" , # Newer versions will cause errors with --help in typer CLIs.
4941 " mistletoe>=1.4.0" ,
50- " trl==0.19.0" ,
51- " peft" ,
52- " torch"
42+ " docling>=2.28.1" ,
5343]
5444
5545[project .scripts ]
5646m = " cli.m:cli"
5747
5848[project .optional-dependencies ]
5949# Use these like:
60- # pip install -e .[dev]
61- # pip install mellea[dev]
62- dev = [" mypy" , " mypy-extensions" , " tomli" , " codespell" ]
63- sphinx = [" sphinx_rtd_theme" , " sphinx-autodoc-typehints" , " sphinx_mdinclude" ]
50+ # uv pip install "mellea[hf]"
51+ # uv pip install -e .[hf, watsonx]
52+ # if you want to install all dependencies, use uv sync --all-extras
53+
54+ hf = [
55+ " accelerate>=1.9.0" ,
56+ " alora>=0.2.0" ,
57+ " datasets>=4.0.0" ,
58+ " outlines<1.0.0" ,
59+ " peft>=0.16.0" ,
60+ " transformers>=4.53.2" ,
61+ " trl>=0.19.0" ,
62+ ]
63+
64+ watsonx = [
65+ " ibm-watsonx-ai>=1.3.31" ,
66+ ]
6467
6568[dependency-groups ]
6669# Use these like:
@@ -75,20 +78,14 @@ dev = [
7578 " pytest" ,
7679 " mypy>=1.17.0" ,
7780]
78- docling = [
79- " docling>=2.15.1" ,
80- ]
81- all = [
82- " mellea" ,
83- " mellea[dev]"
84- ]
81+
8582notebook = [
8683 " ipykernel>=6.29.5" ,
8784 " ipython>=8.36.0" ,
8885 " jupyter>=1.1.1" ,
8986]
9087
91- sphinx = [
88+ docs = [
9289 " sphinx_rtd_theme" ,
9390 " sphinx-autodoc-typehints" ,
9491 " sphinx_mdinclude" ,
You can’t perform that action at this time.
0 commit comments