File size: 1,226 Bytes
d62394f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a0b1d08
d62394f
195ceb2
d62394f
 
 
 
ef87329
99943dd
e732b53
 
d62394f
 
 
e732b53
99943dd
d62394f
 
 
 
 
 
 
e732b53
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
[project]
name = "image-gs"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
    "lpips>=0.1.4",
    "matplotlib>=3.10.6",
    "numpy>=2.2.6",
    "pytorch-msssim>=1.0.0",
    "scikit-image>=0.25.2",
    "scipy>=1.15.3",
    "torch>=2.6.0",
    "torchmetrics>=1.8.2",
    "torchvision>=0.21.0",
    "fused_ssim",
    "pyyaml>=6.0.2",
    "gsplat",
    "gradio>=5.49.1",
    "huggingface_hub>=0.24.0",
    "spaces>=0.28.0",
]

# We use python 3.10 and cu124
[tool.uv.sources]
fused_ssim = { url = "https://github.com/MiroPsota/torch_packages_builder/releases/download/fused_ssim-0.0.1%2Bb4fd832/fused_ssim-0.0.1%2Bb4fd832pt2.6.0cu124-cp310-cp310-linux_x86_64.whl" }
gsplat = { path = "gsplat" }
torch = [{ index = "pytorch-cu124", marker = "sys_platform == 'linux'" }]
torchvision = [{ index = "pytorch-cu124", marker = "sys_platform == 'linux'" }]


[tool.uv.extra-build-dependencies]
# fused-ssim = ["torch", "numpy"]  # Not needed - using pre-built wheel
gsplat = ["torch", "numpy"]

[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true

[dependency-groups]
dev = ["huggingface-hub[cli]>=0.34.4"]