tessera-hypernetwork 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tessera_hypernetwork-0.1.0/PKG-INFO +78 -0
- tessera_hypernetwork-0.1.0/README.md +48 -0
- tessera_hypernetwork-0.1.0/pyproject.toml +52 -0
- tessera_hypernetwork-0.1.0/setup.cfg +4 -0
- tessera_hypernetwork-0.1.0/tessera_hypernetwork.egg-info/PKG-INFO +78 -0
- tessera_hypernetwork-0.1.0/tessera_hypernetwork.egg-info/SOURCES.txt +7 -0
- tessera_hypernetwork-0.1.0/tessera_hypernetwork.egg-info/dependency_links.txt +1 -0
- tessera_hypernetwork-0.1.0/tessera_hypernetwork.egg-info/requires.txt +9 -0
- tessera_hypernetwork-0.1.0/tessera_hypernetwork.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tessera-hypernetwork
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generate per-session LoRA adapters for inference tasks
|
|
5
|
+
Author: Tessera Contributors
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/theoddden/Tessera
|
|
8
|
+
Project-URL: Repository, https://github.com/theoddden/Tessera
|
|
9
|
+
Project-URL: Issues, https://github.com/theoddden/Tessera/issues
|
|
10
|
+
Keywords: lora,peft,hypernetwork,machine-learning,nlp
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: fastapi==0.104.1
|
|
23
|
+
Requires-Dist: uvicorn[standard]==0.24.0
|
|
24
|
+
Requires-Dist: pydantic==2.5.0
|
|
25
|
+
Requires-Dist: torch==2.1.0
|
|
26
|
+
Requires-Dist: safetensors==0.4.1
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
29
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
30
|
+
|
|
31
|
+
# Tessera Hypernetwork
|
|
32
|
+
|
|
33
|
+
Generate per-session LoRA adapters for inference tasks.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pip install tessera-hypernetwork
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
Start the hypernetwork server:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
python -m tessera_hypernetwork.server
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or use the CLI:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
tessera-hypernetwork serve
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## API
|
|
56
|
+
|
|
57
|
+
The hypernetwork service provides a FastAPI server with the following endpoints:
|
|
58
|
+
|
|
59
|
+
- `POST /v1/generate` - Generate a LoRA adapter for a given prompt
|
|
60
|
+
- `GET /health` - Health check endpoint
|
|
61
|
+
|
|
62
|
+
## Development
|
|
63
|
+
|
|
64
|
+
Install development dependencies:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install tessera-hypernetwork[dev]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Run tests:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pytest
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
Apache-2.0
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Tessera Hypernetwork
|
|
2
|
+
|
|
3
|
+
Generate per-session LoRA adapters for inference tasks.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install tessera-hypernetwork
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Start the hypernetwork server:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
python -m tessera_hypernetwork.server
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Or use the CLI:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
tessera-hypernetwork serve
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## API
|
|
26
|
+
|
|
27
|
+
The hypernetwork service provides a FastAPI server with the following endpoints:
|
|
28
|
+
|
|
29
|
+
- `POST /v1/generate` - Generate a LoRA adapter for a given prompt
|
|
30
|
+
- `GET /health` - Health check endpoint
|
|
31
|
+
|
|
32
|
+
## Development
|
|
33
|
+
|
|
34
|
+
Install development dependencies:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install tessera-hypernetwork[dev]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Run tests:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pytest
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
Apache-2.0
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "tessera-hypernetwork"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Generate per-session LoRA adapters for inference tasks"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = "Apache-2.0"
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Tessera Contributors"}
|
|
14
|
+
]
|
|
15
|
+
keywords = ["lora", "peft", "hypernetwork", "machine-learning", "nlp"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Intended Audience :: Science/Research",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.8",
|
|
22
|
+
"Programming Language :: Python :: 3.9",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
dependencies = [
|
|
29
|
+
"fastapi==0.104.1",
|
|
30
|
+
"uvicorn[standard]==0.24.0",
|
|
31
|
+
"pydantic==2.5.0",
|
|
32
|
+
"torch==2.1.0",
|
|
33
|
+
"safetensors==0.4.1",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.optional-dependencies]
|
|
37
|
+
dev = [
|
|
38
|
+
"pytest>=7.0",
|
|
39
|
+
"ruff>=0.1.0",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Homepage = "https://github.com/theoddden/Tessera"
|
|
44
|
+
Repository = "https://github.com/theoddden/Tessera"
|
|
45
|
+
Issues = "https://github.com/theoddden/Tessera/issues"
|
|
46
|
+
|
|
47
|
+
[tool.setuptools.packages.find]
|
|
48
|
+
where = ["."]
|
|
49
|
+
include = ["*"]
|
|
50
|
+
|
|
51
|
+
[tool.setuptools.package-data]
|
|
52
|
+
"*" = ["*.py"]
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: tessera-hypernetwork
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generate per-session LoRA adapters for inference tasks
|
|
5
|
+
Author: Tessera Contributors
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/theoddden/Tessera
|
|
8
|
+
Project-URL: Repository, https://github.com/theoddden/Tessera
|
|
9
|
+
Project-URL: Issues, https://github.com/theoddden/Tessera/issues
|
|
10
|
+
Keywords: lora,peft,hypernetwork,machine-learning,nlp
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
+
Requires-Python: >=3.8
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: fastapi==0.104.1
|
|
23
|
+
Requires-Dist: uvicorn[standard]==0.24.0
|
|
24
|
+
Requires-Dist: pydantic==2.5.0
|
|
25
|
+
Requires-Dist: torch==2.1.0
|
|
26
|
+
Requires-Dist: safetensors==0.4.1
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
29
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
30
|
+
|
|
31
|
+
# Tessera Hypernetwork
|
|
32
|
+
|
|
33
|
+
Generate per-session LoRA adapters for inference tasks.
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
pip install tessera-hypernetwork
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Usage
|
|
42
|
+
|
|
43
|
+
Start the hypernetwork server:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
python -m tessera_hypernetwork.server
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Or use the CLI:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
tessera-hypernetwork serve
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## API
|
|
56
|
+
|
|
57
|
+
The hypernetwork service provides a FastAPI server with the following endpoints:
|
|
58
|
+
|
|
59
|
+
- `POST /v1/generate` - Generate a LoRA adapter for a given prompt
|
|
60
|
+
- `GET /health` - Health check endpoint
|
|
61
|
+
|
|
62
|
+
## Development
|
|
63
|
+
|
|
64
|
+
Install development dependencies:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
pip install tessera-hypernetwork[dev]
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Run tests:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
pytest
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
Apache-2.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dist
|