requirements-dev.txt 1.08 KB
Newer Older
1
# Core deps.
Mandeep Singh Baines's avatar
Mandeep Singh Baines committed
2
-r requirements.txt
3

4
5
6
7
8
# Tools for static checking.
#   - flake8-annotations is needed to avoid F811 error with overload
#     function typing with mypy.
#   - if you change versions below, please make sure it is in-sync with
#     .pre-commit-config.yaml for pre-commit.
9
black == 22.3.0
10
11
12
13
flake8 == 4.0.1
flake8-annotations == 2.7.0
isort == 5.10.1
mypy == 0.910
14
pre-commit >= 2.15.0
15
16

# Tools for unit tests & coverage.
17
18
19
pytest == 7.0.0
pytest-cov == 3.0.0
pytest-timeout == 2.1.0
20
21
22
23
24
25
26
27
28
remote-pdb >= 2.1.0
parameterized >= 0.8.1

# Tools for testing docs
docutils == 0.17

# For torch.cuda.list_gpu_processes()
pynvml == 8.0.4

29
30
# For mypy typing. It is important to have a fixed version. Otherwise, you
# may run into mypy errors out differently for different versions.
31
numpy == 1.22.0
32
33

# For layerwise gradient scaler
34
scikit-learn == 1.1.3
35

36
37
38
# For weigit. These are actually user requirements, not developer requirements.
# However, due to the experimental nature of weigit, we don't expose to the
# general users of fairscale yet. We check for them in weigit's init code.
Min Xu's avatar
Min Xu committed
39
pygit2==1.11.1
40
pgzip==0.3.1