multimodalart HF staff commited on
Commit
9cb3ce4
1 Parent(s): 422da78

Delete pyproject.toml

Browse files
Files changed (1) hide show
  1. pyproject.toml +0 -48
pyproject.toml DELETED
@@ -1,48 +0,0 @@
1
- [build-system]
2
- requires = ["hatchling"]
3
- build-backend = "hatchling.build"
4
-
5
- [project]
6
- name = "sgm"
7
- dynamic = ["version"]
8
- description = "Stability Generative Models"
9
- readme = "README.md"
10
- license-files = { paths = ["LICENSE-CODE"] }
11
- requires-python = ">=3.8"
12
-
13
- [project.urls]
14
- Homepage = "https://github.com/Stability-AI/generative-models"
15
-
16
- [tool.hatch.version]
17
- path = "sgm/__init__.py"
18
-
19
- [tool.hatch.build]
20
- # This needs to be explicitly set so the configuration files
21
- # grafted into the `sgm` directory get included in the wheel's
22
- # RECORD file.
23
- include = [
24
- "sgm",
25
- ]
26
- # The force-include configurations below make Hatch copy
27
- # the configs/ directory (containing the various YAML files required
28
- # 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]
37
- skip-install = false
38
-
39
- dependencies = [
40
- "pytest"
41
- ]
42
-
43
- [tool.hatch.envs.ci.scripts]
44
- test-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
- ]