Skip to content

Commit 9754411

Browse files
authored
move fused local corr to optional (#132)
1 parent fb60208 commit 9754411

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,26 @@ You can also install `romatch` directly as a package from PyPI by
3838
```bash
3939
uv pip install romatch
4040
```
41+
or
42+
```bash
43+
uv add romatch
44+
```
45+
46+
## Fused local correlation kernel
47+
Include the `--extra fused-local-corr` flag as:
48+
```bash
49+
uv sync --extra fused-local-corr
50+
```
51+
or
52+
```bash
53+
uv pip install romatch[fused-local-corr]
54+
```
55+
or
56+
```bash
57+
uv add romatch[fused-local-corr]
58+
```
59+
60+
4161

4262
## Demo / How to Use
4363
We provide two demos in the [demos folder](demo).

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ requires-python = ">=3.9"
1010
dependencies = [
1111
"albumentations",
1212
"einops",
13-
"fused-local-corr>=0.2.2 ; sys_platform == 'linux'",
1413
"h5py",
1514
"kornia",
1615
"loguru",
@@ -24,6 +23,11 @@ dependencies = [
2423
"wandb",
2524
]
2625

26+
[project.optional-dependencies]
27+
fused-local-corr = [
28+
"fused-local-corr>=0.2.2 ; sys_platform == 'linux'",
29+
]
30+
2731
[build-system]
2832
requires = ["uv_build>=0.8.14,<0.9.0"]
2933
build-backend = "uv_build"

uv.lock

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)