File size: 1,318 Bytes
6d9c72b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bfb7184
 
 
6d9c72b
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
name = "contextforge"
version = "0.1.0"
requires-python = ">=3.11"
description = "The shared context compiler for multi-agent LLM systems"
readme = "README.md"
license = {text = "MIT"}
authors = [
    {name = "Pablo M. Suarez", email = "pablo@example.com"}
]
keywords = ["llm", "kv-cache", "multi-agent", "context-compression", "amd", "rocM"]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3.11",
]

dependencies = [
    "fastapi>=0.115.0",
    "uvicorn[standard]>=0.30.0",
    "pydantic>=2.7.0",
    "pydantic-settings>=2.3.0",
    "httpx>=0.27.0",
    "sentence-transformers>=3.0.0",
    "llmlingua>=0.2.2",
    "torch>=2.4.0",
    "gradio>=4.40.0",
    "plotly>=5.22.0",
    "numpy>=1.26.0",
    "aiofiles>=23.0.0",
    "rich>=13.7.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=8.0.0",
    "pytest-asyncio>=0.23.0",
    "ruff>=0.4.0",
]

[project.entry-points."vllm.plugin"]
contextforge_atom = "contextforge.serving.atom_plugin:vLLMAtomPlugin"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]

[tool.ruff]
line-length = 100
target-version = "py311"