File size: 792 Bytes
0ba9d09
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name = "cis6270"
version = "1.0.0"
description = "Course code for CIS 6270, Discrete Generative Models, University of Pennsylvania"
requires-python = ">=3.11"
dependencies = ["torch>=2.4", "numpy>=1.26", "scipy>=1.11"]

[project.optional-dependencies]
images = ["torchvision>=0.19"]
proteins = ["transformers>=4.40"]
dev = ["pytest>=8.0"]

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["cis6270"]

[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = [
    "ignore::UserWarning",
    # torch 2.14 warns from inside its own forward-mode autograd the first time
    # torch.func.jvp runs, which Chapter 6 uses. Nothing here is deprecated.
    "ignore:`torch.jit.script` is deprecated:FutureWarning",
]