CoolFace
Apppublic

zparadox/stable-video-diffusion

sourceHugging Faceotherupdated 3y agoView on Hugging Face
0likes
pyproject.toml49 linesDownload Raw Back to root
1[build-system]2requires = ["hatchling"]3build-backend = "hatchling.build"4 5[project]6name = "sgm"7dynamic = ["version"]8description = "Stability Generative Models"9readme = "README.md"10license-files = { paths = ["LICENSE-CODE"] }11requires-python = ">=3.8"12 13[project.urls]14Homepage = "https://github.com/Stability-AI/generative-models"15 16[tool.hatch.version]17path = "sgm/__init__.py"18 19[tool.hatch.build]20# This needs to be explicitly set so the configuration files21# grafted into the `sgm` directory get included in the wheel's22# RECORD file.23include = [24    "sgm",25]26# The force-include configurations below make Hatch copy27# the configs/ directory (containing the various YAML files required28# to generatively model) into the source distribution and the wheel.29 30[tool.hatch.build.targets.sdist.force-include]31"./configs" = "sgm/configs"32 33[tool.hatch.build.targets.wheel.force-include]34"./configs" = "sgm/configs"35 36[tool.hatch.envs.ci]37skip-install = false38 39dependencies = [40    "pytest"41]42 43[tool.hatch.envs.ci.scripts]44test-inference = [45    "pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 --index-url https://download.pytorch.org/whl/cu118",46    "pip install -r requirements/pt2.txt",    47    "pytest -v tests/inference/test_inference.py {args}",48]49