-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
24 lines (22 loc) · 1.1 KB
/
Copy pathrequirements.txt
File metadata and controls
24 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Dependencies for reproducing this paper.
#
# The analysis stack is NOT pinned here. It is pinned once, in
# paper/honest/repro/requirements-repro.txt, which is what CI installs and what
# verify_like_ci.py builds its venv from. This file used to carry a second set
# of pins (numpy==1.26.4, scipy==1.13.1, transformers==5.12.1) that agreed with
# neither the analysis environment (numpy 2.4.4, scipy 1.17.1) nor the GPU
# harness environment (transformers 4.49.0) -- and the Dockerfile installed
# this file, so the container reproduced neither.
#
# Analysis (CPU, reproduces every number in the paper):
-r paper/honest/repro/requirements-repro.txt
# Test suite and lint.
pytest==8.3.4
pytest-cov==7.1.0
flake8==7.2.0
black==24.10.0
# The GPU harnesses under paper/honest/repro/*_harness.py are NOT run by CI and
# are not installable from here: they need a CUDA build of torch and ran on a
# free-tier Kaggle P100. Their exact versions are recorded at the top of
# requirements-repro.txt and in paper/honest/repro/ENVIRONMENT.md. Rerunning the
# analyses does not require them -- the raw runs they produced are committed.