Skip to content

Commit ef3fe3d

Browse files
committed
Publish as vlora-dev on PyPI (v0.2.1)
Rename package from vlora to vlora-dev — the vlora name is taken on PyPI by an unrelated project. Import stays `import vlora`. Added packaging as explicit dependency (safetensors 0.7.0 needs it). Updated all install commands across README, docs, examples, website, and error messages.
1 parent 88a5348 commit ef3fe3d

9 files changed

Lines changed: 18 additions & 17 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Based on the [Share paper](https://arxiv.org/abs/2602.06043): LoRA adapters acro
1111
## Install
1212

1313
```bash
14-
pip install vlora
14+
pip install vlora-dev
1515
```
1616

1717
Or from source:
@@ -321,7 +321,7 @@ Tested with 8 [Lots-of-LoRAs](https://huggingface.co/Lots-of-LoRAs) adapters (Mi
321321

322322
Run the benchmark yourself:
323323
```bash
324-
pip install vlora[hub]
324+
pip install vlora-dev[hub]
325325
python examples/real_adapters.py
326326
```
327327

@@ -355,8 +355,8 @@ subspace.save("updated_subspace/")
355355
- `torch >= 2.0`
356356
- `safetensors >= 0.4`
357357
- `click >= 8.0`
358-
- `huggingface-hub >= 0.20` *(optional, `pip install vlora[hub]`)*
359-
- `transformers >= 4.38` *(optional, `pip install vlora[hf]`)*
358+
- `huggingface-hub >= 0.20` *(optional, `pip install vlora-dev[hub]`)*
359+
- `transformers >= 4.38` *(optional, `pip install vlora-dev[hf]`)*
360360

361361
## Citation
362362

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Based on the [Share paper](https://arxiv.org/abs/2602.06043): LoRA adapters acro
77
## Install
88

99
```bash
10-
pip install vlora
10+
pip install vlora-dev
1111
```
1212

1313
## Quick Example

docs/launch_post.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ At k=4 components, B-side matrices explain 95% of variance across 8 Mistral-7B a
2929
### What's in the box
3030

3131
```bash
32-
pip install vlora
32+
pip install vlora-dev
3333
```
3434

3535
**CLI** (9 commands):
@@ -60,7 +60,7 @@ vlora validate subspace/
6060
### Links
6161

6262
- GitHub: https://github.com/tveseli/vlora
63-
- PyPI: https://pypi.org/project/vlora/
63+
- PyPI: https://pypi.org/project/vlora-dev/
6464
- Paper: https://arxiv.org/abs/2602.06043
6565
- Website: https://vlora-dev.web.app
6666

docs/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ Try vlora in Google Colab or locally.
77
## Install
88

99
```bash
10-
pip install vlora
10+
pip install vlora-dev
1111
```
1212

1313
For HuggingFace Hub loading:
1414
```bash
15-
pip install vlora[hub]
15+
pip install vlora-dev[hub]
1616
```
1717

1818
For HuggingFace Trainer integration:
1919
```bash
20-
pip install vlora[hf]
20+
pip install vlora-dev[hf]
2121
```
2222

2323
## CLI Workflow

examples/hf_trainer_subspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
(a few hundred parameters) instead of full LoRA matrices (hundreds of thousands).
55
66
Usage:
7-
pip install vlora[hf]
7+
pip install vlora-dev[hf]
88
python examples/hf_trainer_subspace.py
99
"""
1010

examples/real_adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
memory savings.
77
88
Usage:
9-
pip install vlora[hub]
9+
pip install vlora-dev[hub]
1010
python examples/real_adapters.py
1111
"""
1212

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "vlora"
7-
version = "0.2.0"
6+
name = "vlora-dev"
7+
version = "0.2.1"
88
description = "Shared low-rank subspaces for efficient LoRA adapter management"
99
readme = "README.md"
1010
license = "Apache-2.0"
@@ -21,6 +21,7 @@ classifiers = [
2121
dependencies = [
2222
"torch>=2.0",
2323
"safetensors>=0.4",
24+
"packaging>=21.0",
2425
"numpy>=1.21",
2526
"click>=8.0",
2627
]

src/vlora/integrations/huggingface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _require_transformers():
4444
if not HAS_TRANSFORMERS:
4545
raise ImportError(
4646
"transformers is required for HuggingFace integration. "
47-
"Install with: pip install vlora[hf]"
47+
"Install with: pip install vlora-dev[hf]"
4848
)
4949

5050

src/vlora/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ def load_adapter(path: str | Path) -> LoRAWeights:
114114
def load_adapter_from_hub(repo_id: str, revision: str | None = None) -> LoRAWeights:
115115
"""Load a PEFT LoRA adapter from HuggingFace Hub.
116116
117-
Requires the `huggingface-hub` package (install with `pip install vlora[hub]`).
117+
Requires the `huggingface-hub` package (install with `pip install vlora-dev[hub]`).
118118
"""
119119
try:
120120
from huggingface_hub import snapshot_download
121121
except ImportError:
122122
raise ImportError(
123123
"huggingface-hub is required to load from Hub. "
124-
"Install with: pip install vlora[hub]"
124+
"Install with: pip install vlora-dev[hub]"
125125
)
126126

127127
local_dir = snapshot_download(

0 commit comments

Comments
 (0)