Spaces:
Runtime error
Runtime error
pablovela5620
commited on
Commit
Β·
9970917
1
Parent(s):
a65b44b
chore: Update pixi.toml with additional channels and dependencies
Browse files
pixi.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
pixi.toml
CHANGED
@@ -3,7 +3,7 @@ name = "mini-dpvo"
|
|
3 |
version = "0.1.1"
|
4 |
description = "Add a short description here"
|
5 |
authors = ["pablovela5620 <[email protected]>"]
|
6 |
-
channels = ["nvidia/label/cuda-11.8.0", "nvidia", "conda-forge", "pytorch"]
|
7 |
platforms = ["linux-64"]
|
8 |
|
9 |
[system-requirements]
|
@@ -19,11 +19,20 @@ cuda = {version = "*", channel="nvidia/label/cuda-11.8.0"}
|
|
19 |
pytorch-cuda = {version = "11.8.*", channel="pytorch"}
|
20 |
pytorch = {version = ">=2.2.0,<2.3", channel="pytorch"}
|
21 |
torchvision = {version = ">=0.17.0,<0.18", channel="pytorch"}
|
22 |
-
|
|
|
|
|
|
|
23 |
jaxtyping = ">=0.2.28,<0.3"
|
24 |
-
|
25 |
-
rerun-sdk = "
|
|
|
|
|
26 |
|
27 |
[pypi-dependencies]
|
28 |
mini-dust3r = "*"
|
29 |
-
spaces = "==0.28.3"
|
|
|
|
|
|
|
|
|
|
3 |
version = "0.1.1"
|
4 |
description = "Add a short description here"
|
5 |
authors = ["pablovela5620 <[email protected]>"]
|
6 |
+
channels = ["nvidia/label/cuda-11.8.0", "nvidia", "conda-forge", "pytorch", "pyg"]
|
7 |
platforms = ["linux-64"]
|
8 |
|
9 |
[system-requirements]
|
|
|
19 |
pytorch-cuda = {version = "11.8.*", channel="pytorch"}
|
20 |
pytorch = {version = ">=2.2.0,<2.3", channel="pytorch"}
|
21 |
torchvision = {version = ">=0.17.0,<0.18", channel="pytorch"}
|
22 |
+
plyfile = ">=1.0.3,<1.1"
|
23 |
+
pytorch-scatter = {version="*", channel="pyg"}
|
24 |
+
matplotlib = ">=3.8.4,<3.9"
|
25 |
+
yacs = ">=0.1.8,<0.2"
|
26 |
jaxtyping = ">=0.2.28,<0.3"
|
27 |
+
icecream = ">=2.1.3,<2.2"
|
28 |
+
rerun-sdk = "0.15.*"
|
29 |
+
gradio = "4.31.2.*"
|
30 |
+
eigen = ">=3.4.0,<3.5"
|
31 |
|
32 |
[pypi-dependencies]
|
33 |
mini-dust3r = "*"
|
34 |
+
spaces = "==0.28.3"
|
35 |
+
opencv-python = ">=4.9.0.80"
|
36 |
+
evo = ">=1.28.0"
|
37 |
+
gradio-rerun = "*"
|
38 |
+
mmcv = "*"
|
setup.py
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os.path as osp
|
2 |
+
from setuptools import setup, find_packages
|
3 |
+
from torch.utils.cpp_extension import BuildExtension, CUDAExtension
|
4 |
+
|
5 |
+
ROOT = osp.dirname(osp.abspath(__file__))
|
6 |
+
|
7 |
+
|
8 |
+
setup(
|
9 |
+
name="mini_dpvo",
|
10 |
+
packages=find_packages(),
|
11 |
+
ext_modules=[
|
12 |
+
CUDAExtension(
|
13 |
+
"cuda_corr",
|
14 |
+
sources=[
|
15 |
+
"mini_dpvo/altcorr/correlation.cpp",
|
16 |
+
"mini_dpvo/altcorr/correlation_kernel.cu",
|
17 |
+
],
|
18 |
+
extra_compile_args={
|
19 |
+
"cxx": ["-O3"],
|
20 |
+
"nvcc": ["-O3"],
|
21 |
+
},
|
22 |
+
),
|
23 |
+
CUDAExtension(
|
24 |
+
"cuda_ba",
|
25 |
+
sources=["mini_dpvo/fastba/ba.cpp", "mini_dpvo/fastba/ba_cuda.cu"],
|
26 |
+
extra_compile_args={
|
27 |
+
"cxx": ["-O3"],
|
28 |
+
"nvcc": ["-O3"],
|
29 |
+
},
|
30 |
+
),
|
31 |
+
CUDAExtension(
|
32 |
+
"lietorch_backends",
|
33 |
+
include_dirs=[
|
34 |
+
osp.join(ROOT, "mini_dpvo/lietorch/include"),
|
35 |
+
osp.join(ROOT, ".pixi/envs/default/include/eigen3"),
|
36 |
+
],
|
37 |
+
sources=[
|
38 |
+
"mini_dpvo/lietorch/src/lietorch.cpp",
|
39 |
+
"mini_dpvo/lietorch/src/lietorch_gpu.cu",
|
40 |
+
"mini_dpvo/lietorch/src/lietorch_cpu.cpp",
|
41 |
+
],
|
42 |
+
extra_compile_args={
|
43 |
+
"cxx": ["-O3"],
|
44 |
+
"nvcc": ["-O3"],
|
45 |
+
},
|
46 |
+
),
|
47 |
+
],
|
48 |
+
cmdclass={"build_ext": BuildExtension},
|
49 |
+
)
|