[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"]